Matthew Dillon wrote:
    Exactly.  You can even debug the vkernel with gdb on the process id
    (not kgdb).  Is that cool or what?

totally.  qemu doesn't work 100% like that, but almost:

% qemu -hda disk.img
...
in qemu:  ctrl-alt-2 (switches to qemu console)
qemu> gdbserver

on other console:
% gdb kernel.debug      # the one booted from disk.img
gdb> target remote localhost:1234
gdb> bt

works excellent.  well, interrupts sometimes confuse you debugging (every now 
and then you'll be in fastintr :)

definitely my choice for hardware driver debugging.

cheers
 simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to