[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dragonfly-bugs
Subject:    Re: [issue524] Making world with gcc41?
From:       "Simon 'corecode' Schubert" <corecode () fs ! ei ! tum ! de>
Date:       2007-01-24 6:19:45
Message-ID: 45B6FA81.100 () fs ! ei ! tum ! de
[Download RAW message or body]


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   / \


["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic