Re: Is it possible to debug an AMD kernel on Intel



At Mon, 26 Nov 2007 10:01:03 -0800,
David O'Brien wrote:

On Sun, Nov 25, 2007 at 10:38:37PM +0900, gnn@xxxxxxxxxxx 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
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Code hangs or crashes on Kernel startup (dbau1100)
    ... Is there any debug output at all that we could see? ... is the eboot on your board aware of the different RAM layout? ... We have a new board which is based on the AMD Alchemy ... code, but after it tries to start the kernel, nothing happens. ...
    (microsoft.public.windowsce.platbuilder)
  • [patch 1/2] infrastructure to debug (dynamic) objects
    ... problem spot are kernel timers, where the detection of the problem ... While working on a timer related bug report I had to hack in ... This debug hack was fine for temporary use, ...
    (Linux-Kernel)
  • Re: Error 4309 returned when writing files
    ... kernel (or at least debug version of filesys) and enable all debug zones ... I enabled KITL and the kernel debugger in my retail build and set ... on Sector 4040 ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Capturing debug messages using CeLog on a release terminal
    ... Don't set the shipbuild flag in your retail kernel (because it will #define RETAILMSG and DEBUGMSG into nirvana) and don't set Enable CE Target control and don't set Enable Kernel Debugger. ... I'm not entirely sure if DEBUGMSGs (as opposed to RETAILMSGs) still work when replacing dll's in a retail build with their debug counterparts. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: kernel mess
    ... Correct semprons were originally Socket A cpu's as a replacement for the Athlon XP etc. AMD ditched the socket A in favour of S754, but disabled the 64 bit instruction on the semprons promoting the AMD64 instead. ... I was using -amd64 while running k8 kernel. ...
    (Debian-User)