OS X cross-debugging from Linux?
Daniel Jacobowitz
drow@mvista.com
Fri May 24 17:37:00 GMT 2002
On Thu, May 23, 2002 at 07:36:03PM -0500, Michael D. Crawford wrote:
> Greetings, I have just joined the list.
>
> I want to develop a Mac OS X device driver. One can debug the OS X kernel
> using GDB as a cross-debugger between two machines over ethernet. Apple
> has a page that describes how to do it here:
>
> http://www.opensource.apple.com/projects/documentation/howto/html/KEXT_Tutorials/HelloDebugger.html
>
> However, this assumes both machines are running OS X and using the version
> of GDB that Apple provides.
I'm going to wager that Apple's GDB will build OK on a Linux host.
It's hard to say without actually trying it, though :) Just
configuring with appropriate --target= should suffice.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
More information about the Gdb
mailing list