DragonFly bugs List (threaded) for 2007-01
DragonFly BSD
DragonFly bugs List (threaded) for 2007-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [issue524] Making world with gcc41?


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Wed, 24 Jan 2007 07:19:45 +0100

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]