gdb调试qemu本身
2017-01-17 21:20
453 查看
gdb调试qemu本身
参考文献:http://www.360doc.com/content/16/0321/17/10671613_544087562.shtml http://wiki.qemu.org/Documentation/Debugging
#新建文件command.gdb
gedit command.gdb
文件内容:
gdb -x command.gdb
感觉还可以用其他的调试:http://wiki.qemu.org/Testing
参考文献:http://www.360doc.com/content/16/0321/17/10671613_544087562.shtml http://wiki.qemu.org/Documentation/Debugging
#新建文件command.gdb
gedit command.gdb
文件内容:
set breakpoint pending on #file后为运行程序 file qemu/x86_64-softmmu/qemu-system-x86_64 handle SIGUSR2 noprint nostop handle SIGUSR1 noprint nostop break main_loop break vl.c:3118 #run后为qemu-system-x86_64所接的命令 run --enable-kvm -m 2048 -hda ./test.img -cdrom ./ubuntu-14.04.5-desktop-amd64.iso #run ./test1.img -m 1024 -net nic -monitor stdio -machine pc-i440fx-2.8 -rtc base=utc --enable-kvm -net tap,ifname=tap0,script=no -incoming tcp:0:6666
gdb -x command.gdb
感觉还可以用其他的调试:http://wiki.qemu.org/Testing
相关文章推荐
- QEMU+GDB调试方法
- gdb qemu调试linux kernel并修改远程连接的bug
- ubuntu: qemu+gdb 调试linux kernel 学习笔记
- QEMU+GDB调试方法
- 采用eclipse + gdb来搭建调试qemu源码的环境
- 使用Qemu+gdb来调试内核
- ReactOS学习笔记(2)- 如何在Ubuntu上使用GDB和QEMU远程源代码调试ReactOS?
- 手把手教你使用eclipse+qemu+gdb来单步调试ARM内核【学习笔记】
- Linux操作系统分析(6)- qemu+gdb调试linux内核
- qemu创建虚拟机,gdb调试及网络配置
- Linux操作系统分析(6)- qemu+gdb调试linux内核
- QEMU+GDB 安装编译调试linux内核
- 采用eclipse + gdb来搭建调试qemu源码的环境
- 如何使用gdb结合qemu调试linux内核源码
- qemu gdb 调试内核
- qemu + gdb调试uboot 和 kernel
- Eclispe+qemu+gdb调试linux Kernel
- 用DDD+GDB+QEMU 进行linux内核源码级调试
- 如何使用Qemu+gdb来调试内核
- gdb 远程qemu-arm调试