From owner-freebsd-current@FreeBSD.ORG Tue Nov 27 07:25:10 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 3234016A41A; Tue, 27 Nov 2007 07:25:10 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from mrout2-b.corp.dcn.yahoo.com (mrout2-b.corp.dcn.yahoo.com [216.109.112.28]) by mx1.freebsd.org (Postfix) with ESMTP id C5C6613C469; Tue, 27 Nov 2007 07:25:09 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from minion.local.neville-neil.com (proxy8.corp.yahoo.com [216.145.48.13]) by mrout2-b.corp.dcn.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id lAR7EcxA027561; Mon, 26 Nov 2007 23:14:40 -0800 (PST) Date: Tue, 27 Nov 2007 16:14:37 +0900 Message-ID: From: gnn@freebsd.org To: obrien@freebsd.org, gnn@freebsd.org, freebsd-current@freebsd.org In-Reply-To: <20071126180103.GA79600@dragon.NUXI.org> References: <20071126180103.GA79600@dragon.NUXI.org> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/22.1.50 (i386-apple-darwin8.10.1) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: Subject: Re: Is it possible to debug an AMD kernel on Intel 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: Tue, 27 Nov 2007 07:25:10 -0000 At Mon, 26 Nov 2007 10:01:03 -0800, David O'Brien wrote: > > On Sun, Nov 25, 2007 at 10:38:37PM +0900, gnn@freebsd.org wrote: > > or vice versa? That is, can I do kgdb/gdb over serial from an Intel > > box to an AMD box? > > George, > This question make no sense. Of course you can debug a kernel on an > Intel system using an AMD system. There isn't anything CPU vendor > specific within a single architecture that would affect you doing this. > > But I don't think that's really your question. I think you're > asking if you can debug a FreeBSD/i386 kernel using a FreeBSD/amd64 > system. I.e. cross-platform debugging. > That was my question. > The answer is "no" using stock FreeBSD bits. A single GDB binary > cannot be built multi-platform. I'm going to try the cross-platform tools and see what I can do. Thanks, George