Some notes on debugging xv6 on qemu with gdb

上级 055fc323
......@@ -16,3 +16,18 @@
retrieved from:
http://www.intel.com/products/ethernet/resource.htm#s1=Gigabit%20Ethernet&s2=all&s3=Manual
* qemu+gdb
# In a terminal..
$ make gdb
# ..In a different terminal
$ gdb o.qemu/kernel
(gdb) target remote :1234
(gdb) show arch
The target architecture is set automatically (currently i386:x86-64)
(gdb) set arch i386:x86-64:intel
(gdb) show arch
The target architecture is assumed to be i386:x86-64:intel
(gdb) c
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论