aboutsummaryrefslogtreecommitdiff
path: root/qemu-doc.texi
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-01-24 13:46:56 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-01-24 13:46:56 +0000
commit6c9bf8936a14e8b460cfd074e1a78251a0d85da0 (patch)
treef7f916af82e2e7fc0b4ac310d8aa677175be7ced /qemu-doc.texi
parentbb551faa4ac8a798df9757c0ae26893041344bc3 (diff)
update
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@576 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'qemu-doc.texi')
-rw-r--r--qemu-doc.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu-doc.texi b/qemu-doc.texi
index f4a69c272a..5ca8e8f3bb 100644
--- a/qemu-doc.texi
+++ b/qemu-doc.texi
@@ -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: