From owner-freebsd-current@FreeBSD.ORG Mon Aug 27 07:08:03 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 198B416A41B for ; Mon, 27 Aug 2007 07:08:03 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id 9FD0D13C465 for ; Mon, 27 Aug 2007 07:08:02 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so1103039nfb for ; Mon, 27 Aug 2007 00:08:01 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JW+QpKNwNMCrkO14nH0R6/l97eChYJscjb2HCs0z7mhjgV84ekHDJ/8sDqvA90PAKwHRLjtgIyquRlmNf7nhl6mmXLOdToF5IaSjk7fXZy5Ssm9gY0V9LhbuL4fL4AKpcLnzAlLO+tvwMAHj6i6TNpmvtet7mbk3tgNIH2rjJDE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sV2+FONGUX0xRmLj03Thsa9otArNpGMbaYfdk/FWZWFlp+OYjGeETcX+lNWKrNBwDr4W2doGXl3dVyYtjK3j7HOrH2ojJtKE+1FJd3GLD0RXbJCqrN0yc1pcCHlewc6SqmFhqK1B7ovILYrS4PY3yw4Fuev2NRe+pbMky44n1oQ= Received: by 10.78.170.6 with SMTP id s6mr3606004hue.1188198480693; Mon, 27 Aug 2007 00:08:00 -0700 (PDT) Received: by 10.78.162.18 with HTTP; Mon, 27 Aug 2007 00:08:00 -0700 (PDT) Message-ID: Date: Mon, 27 Aug 2007 00:08:00 -0700 From: "Kip Macy" To: "Andrew Turner" In-Reply-To: <20070826232326.6e27eb49@hermies.int.fubar.geek.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070824181627.57bed401@hermies.int.fubar.geek.nz> <20070824132409.W3900@fledge.watson.org> <20070826000708.15fbb5bb@hermies.int.fubar.geek.nz> <20070826232326.6e27eb49@hermies.int.fubar.geek.nz> Cc: freebsd-current@freebsd.org, Robert Watson Subject: Re: FreeBSD on xen hvm X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2007 07:08:03 -0000 On 8/26/07, Andrew Turner wrote: > On Sat, 25 Aug 2007 10:41:09 -0700 > "Kip Macy" wrote: > > > Have you tried gdbserver? > > > > -Kip > I've got the Xen gdbserver running and I've patched kgdb to attach via > tcp. I'm currently working on getting a copy of kgdb that can accept > the amd64 registers gdbserver sends. My understanding id kgdb detects > the architecture from the kernel file. In this case it will be wrong as > the kernel is i386 but the arch is amd64. Regular GDB works and is easy enough to cross-build - I actually never used kgdb with gdbserver. The only thing that will go wrong is that it will not correctly parse trapframes. -Kip