vkernel & GSoC, some questions

Oliver Fromme olli at lurza.secnetix.de
Sat Mar 22 15:20:13 UTC 2008


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.)

For loader work (i.e. non-kernel), the good old
printf debugging was sufficient for me so far.  :)

(Or maybe I was just lucky that my bugs were easy
enough to fix, so that I didn't need other debugging
facilities.  I'll certainly keep qemu -s in mind.)

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

We're sysadmins.  To us, data is a protocol-overhead.


More information about the freebsd-hackers mailing list