aboutsummaryrefslogtreecommitdiff
path: root/docs/system/gdb.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/system/gdb.rst')
-rw-r--r--docs/system/gdb.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/system/gdb.rst b/docs/system/gdb.rst
index 4228cb5..d50470b 100644
--- a/docs/system/gdb.rst
+++ b/docs/system/gdb.rst
@@ -20,7 +20,7 @@ connection, use the ``-gdb dev`` option instead of ``-s``. See
.. parsed-literal::
- |qemu_system| -s -S -kernel bzImage -hda rootdisk.img -append "root=/dev/hda"
+ |qemu_system| -s -S -kernel bzImage -drive file=rootdisk.img,format=raw -append "root=/dev/sda"
QEMU will launch but will silently wait for gdb to connect.