From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6524 invoked by alias); 14 Mar 2006 19:19:29 -0000 Received: (qmail 6516 invoked by uid 22791); 14 Mar 2006 19:19:27 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 14 Mar 2006 19:19:26 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k2EJJNVT003276; Tue, 14 Mar 2006 14:19:23 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id k2EJJN124471; Tue, 14 Mar 2006 14:19:23 -0500 Received: from [127.0.0.1] (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id k2EJJL6a025837; Tue, 14 Mar 2006 14:19:22 -0500 Message-ID: <44171739.8050707@redhat.com> Date: Tue, 14 Mar 2006 19:19:00 -0000 From: Keith Seitz User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: Hermann-Simon Lichte CC: openmacnews@gmail.com, insight@sourceware.org Subject: Re: insight builds with no errors on OSX, but gdb not! being built ... References: <44170538.1070607@gmail.com> <1FE5275B-BFF6-4713-B3B9-2AEFF438A2B5@gmail.com> In-Reply-To: <1FE5275B-BFF6-4713-B3B9-2AEFF438A2B5@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00088.txt.bz2 Hermann-Simon Lichte wrote: > I realised that you're trying to build Insight for debugging Mac OS X > applications. There are some peculiarities about Mac OS X, e.g., the use > of Mach-O object files instead of ELF object files due to Darwin's Mach > heritance. Apple keeps modified versions of gcc and gdb at > www.opensource.apple.com, and I don't think that these modifications are > considered in Insight. I can't think of any other operating system that > still uses Mach-O besides Mac OS X. To clarify, the public FSF repository for gdb (which insight shares) does not contain the code specific to running on MacOS X. I think they've donated/merged their compiler changes, but zippo on the debugger. Don't quote me on that, but I don't remember ever seeing anything on gdb-patches to indicate that Apple is going to merge their OS X work with the public sources. If you're looking for something to do, though, I'm sure Apple and FSF developers would _love_ to see someone spearhead this effort. Or do as someone else suggested: try to plonk insight on top of Apple's gdb. Probably not trivial, but probably a whole lot easier than merging Apple gdb into FSF gdb. [I'm just guessing here, though.] I might just be tempted to do something like this myself if I had access to an OS X machine. Keith