Re: Two machine debugging of Intel code
Re: Two machine debugging of Intel code
- Subject: Re: Two machine debugging of Intel code
- From: Derek Kumar <email@hidden>
- Date: Thu, 9 Feb 2006 21:51:36 -0500
Yes--you must launch the debugger with "gdb -arch <target-
arch>" (i386 in the first case), and load either architecture-
specific or universal images (non-stripped, of course). You should
use the latest version of gdb (the one shipped with Xcode 2.2 or
newer, I believe) for best results. Also, there's apparently a
problem with the Macsbug gdb plugin when connecting to x86 targets,
so you should probably skip loading that if you use it.
Derek
On Feb 9, 2006, at 8:03 PM, Ron Aldrich wrote:
Folks,
One quick question - Using GDB, is it possible to debug kernel code
running on an Intel based Macintosh using a PPC based Macintosh (or
vice-versa)?
Thanks,
Ron Aldrich
Software Architects, Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden