This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: OS X cross-debugging from Linux?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]