This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: OS X cross-debugging from Linux?
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: "Michael D. Crawford" <crawford at goingware dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 24 May 2002 20:37:41 -0400
- Subject: Re: OS X cross-debugging from Linux?
- References: <3CED8AF3.3050808@goingware.com>
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