vkernel & GSoC, some questions

John Baldwin jhb at freebsd.org
Mon Mar 24 14:06:38 UTC 2008

On Saturday 22 March 2008 11:20:07 am Oliver Fromme wrote:
> M. Warner Losh wrote:
>  > In message: <200803191633.m2JGXuBt088272 at lurza.secnetix.de>
>  >
>  >             Oliver Fromme <olli at lurza.secnetix.de> writes:
>  > : The vkernel feature has certainly benefits, e.g. the fact
>  > : that you can attach to it with standard gdb and use the
>  > : familiar debugging facilities, which can attract more
>  >
>  > Can't you say qemu -s and attach gdb to that port as well?
> Good point.  According to the manpage it would work,
> but I've never tried it myself.  (I'm rather careful
> with the qemu manpage because it also contains a few
> things that only work on Linux.)

It works great and is how I debugged the recent GPT and BTX boot loader stuff.  
I haven't tried debugging the loader binary itself, but that should work.

John Baldwin

More information about the freebsd-hackers mailing list