Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2007 16:14:37 +0900
From:      gnn@freebsd.org
To:        obrien@freebsd.org, gnn@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: Is it possible to debug an AMD kernel on Intel
Message-ID:  <m27ik4yxb6.wl%gnn@neville-neil.com>
In-Reply-To: <20071126180103.GA79600@dragon.NUXI.org>
References:  <m2fxyu5tsy.wl%gnn@neville-neil.com> <20071126180103.GA79600@dragon.NUXI.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m27ik4yxb6.wl%gnn>