[issue524] Making world with gcc41?
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Tue Jan 23 22:21:40 PST 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00026.pgp
Type: application/octet-stream
Size: 252 bytes
Desc: "Description: OpenPGP digital signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20070123/c14035ac/attachment-0022.obj>
More information about the Bugs
mailing list