From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 22 15:20:13 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 925BB1065672 for ; Sat, 22 Mar 2008 15:20:13 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (unknown [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 1951F8FC47 for ; Sat, 22 Mar 2008 15:20:12 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.1/8.14.1) with ESMTP id m2MFK8MB059295; Sat, 22 Mar 2008 16:20:08 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.1/8.14.1/Submit) id m2MFK7TM059293; Sat, 22 Mar 2008 16:20:07 +0100 (CET) (envelope-from olli) From: Oliver Fromme Message-Id: <200803221520.m2MFK7TM059293@lurza.secnetix.de> To: imp@bsdimp.com (M. Warner Losh) Date: Sat, 22 Mar 2008 16:20:07 +0100 (CET) In-Reply-To: <20080321.103310.-1301412573.imp@bsdimp.com> X-Mailer: ELM [version 2.5 PL8] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Sat, 22 Mar 2008 16:20:09 +0100 (CET) Cc: freebsd-hackers@freebsd.org Subject: Re: vkernel & GSoC, some questions X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Mar 2008 15:20:13 -0000 M. Warner Losh wrote: > In message: <200803191633.m2JGXuBt088272@lurza.secnetix.de> > Oliver Fromme 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.