This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Source for OS X GDB?
- From: Stan Shebs <shebs at apple dot com>
- To: "Michael D. Crawford" <crawford at goingware dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Sun, 26 May 2002 23:06:07 -0700
- Subject: Re: Source for OS X GDB?
- Organization: Apple Computer, Inc.
- References: <3CEFA2A6.7010103@goingware.com>
"Michael D. Crawford" wrote:
>
> Apple makes it difficult to obtain the source to anything without previously
> agreeing to the Apple Public Source License, but it does say on its web page
> that you can get the sources to non-APSL stuff without having to so agree.
>
> The problem is finding it. I would like to find the source to the version of
> GDB that comes with Mac OS X 10.1.3, and for various reasons I think I need to
> do this without agreeing to the Apple Public Source License (which would give me
> access to CVS).
Strictly speaking, the APSL has nothing to do with Apple's version
of GDB. opendarwin.org is supposed to become an independent home of
all things Darwin, but it doesn't look like GDB has been copied over
to it yet. There's a snapshot of Apple sources somewhere on sources.
redhat.com too I think.
> I want Apple's source because what I want to do is to cross-debug an OS X driver
> while running the GDB UI on Linux. I've been told that Apple has made
> modifications to GDB that have not been picked up by the GDB maintainers.
Seems like a long shot to me, though not impossible. There are
lots and lots of mods, and I don't know that they've all been
tested for portability. I've recently started on making our GCC
sources compilable under Linux (so as to make some of our features
available for evaluation), and it's remarkably easy for nonportable
bits to sneak in...
Stan