/[qemu]/qemu/qemu-doc.texi
ViewVC logotype

Diff of /qemu/qemu-doc.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by bellard, Fri Jun 27 12:02:03 2003 UTC revision 1.12 by bellard, Fri Jun 27 18:50:50 2003 UTC
# Line 402  by Line 402  by
402  # define HZ             100             /* Internal kernel timer frequency */  # define HZ             100             /* Internal kernel timer frequency */
403  @end example  @end example
404    
405    If you have problems running your kernel, verify that neither the SMP nor
406    HIGHMEM configuration options are activated.
407    
408  @section PC Emulation  @section PC Emulation
409    
410  QEMU emulates the following PC peripherials:  QEMU emulates the following PC peripherials:
# Line 421  NE2000 network adapter (port=0x300, irq= Line 424  NE2000 network adapter (port=0x300, irq=
424  Dumb VGA (to print the @code{Uncompressing Linux} message)  Dumb VGA (to print the @code{Uncompressing Linux} message)
425  @end itemize  @end itemize
426    
427    @section GDB usage
428    
429    QEMU has a primitive support to work with gdb, so that you can do
430    'Ctrl-C' while the kernel is running and inspect its state.
431    
432    In order to use gdb, launch vl with the '-s' option. It will wait for a
433    gdb connection:
434    @example
435    > vl -s arch/i386/boot/bzImage initrd-2.4.20.img root=/dev/ram0 ramdisk_size=6144
436    Connected to host network interface: tun0
437    Waiting gdb connection on port 1234
438    @end example
439    
440    Then launch gdb on the 'vmlinux' executable:
441    @example
442    > gdb vmlinux
443    @end example
444    
445    In gdb, connect to QEMU:
446    @example
447    (gdb) target remote locahost:1234
448    @end example
449    
450    Then you can use gdb normally. For example, type 'c' to launch the kernel:
451    @example
452    (gdb) c
453    @end example
454    
455    WARNING: breakpoints and single stepping are not yet supported.
456    
457  @chapter QEMU Internals  @chapter QEMU Internals
458    
459  @section QEMU compared to other emulators  @section QEMU compared to other emulators

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26