mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
update
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@576 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
bb551faa4a
commit
6c9bf8936a
1 changed files with 2 additions and 2 deletions
|
@ -730,7 +730,7 @@ QEMU has a primitive support to work with gdb, so that you can do
|
|||
In order to use gdb, launch qemu with the '-s' option. It will wait for a
|
||||
gdb connection:
|
||||
@example
|
||||
> qemu -s arch/i386/boot/bzImage -hda root-2.4.20.img root=/dev/hda
|
||||
> qemu -s -kernel arch/i386/boot/bzImage -hda root-2.4.20.img -append "root=/dev/hda"
|
||||
Connected to host network interface: tun0
|
||||
Waiting gdb connection on port 1234
|
||||
@end example
|
||||
|
@ -742,7 +742,7 @@ Then launch gdb on the 'vmlinux' executable:
|
|||
|
||||
In gdb, connect to QEMU:
|
||||
@example
|
||||
(gdb) target remote locahost:1234
|
||||
(gdb) target remote localhost:1234
|
||||
@end example
|
||||
|
||||
Then you can use gdb normally. For example, type 'c' to launch the kernel:
|
||||
|
|
Loading…
Reference in a new issue