From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 24 14:06:38 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 1F38E1065740 for ; Mon, 24 Mar 2008 14:06:38 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 138A28FC12 for ; Mon, 24 Mar 2008 14:06:37 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by elvis.mu.org (Postfix) with ESMTP id 4AD591A4D82; Mon, 24 Mar 2008 07:06:37 -0700 (PDT) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Mon, 24 Mar 2008 09:38:29 -0400 User-Agent: KMail/1.9.7 References: <200803221520.m2MFK7TM059293@lurza.secnetix.de> In-Reply-To: <200803221520.m2MFK7TM059293@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803240938.29781.jhb@freebsd.org> Cc: Oliver Fromme 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: Mon, 24 Mar 2008 14:06:38 -0000 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 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