On Saturday 22 March 2008 11:20:07 am Oliver Fromme wrote:
> M. Warner Losh wrote:
>  > In message: <[EMAIL PROTECTED]>
>  >
>  >             Oliver Fromme <[EMAIL PROTECTED]> 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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to