Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2008 09:38:29 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        Oliver Fromme <olli@lurza.secnetix.de>
Subject:   Re: vkernel & GSoC, some questions
Message-ID:  <200803240938.29781.jhb@freebsd.org>
In-Reply-To: <200803221520.m2MFK7TM059293@lurza.secnetix.de>
References:  <200803221520.m2MFK7TM059293@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 22 March 2008 11:20:07 am Oliver Fromme wrote:
> M. Warner Losh wrote:
>  > In message: <200803191633.m2JGXuBt088272@lurza.secnetix.de>
>  >
>  >             Oliver Fromme <olli@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803240938.29781.jhb>