From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15476 invoked by alias); 24 Aug 2007 18:30:16 -0000 Received: (qmail 15328 invoked by uid 22791); 24 Aug 2007 18:30:15 -0000 X-Spam-Check-By: sourceware.org Received: from mail-out3.apple.com (HELO mail-out3.apple.com) (17.254.13.22) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 24 Aug 2007 18:30:03 +0000 Received: from relay12.apple.com (relay12.apple.com [17.128.113.53]) by mail-out3.apple.com (Postfix) with ESMTP id 09F62F5ABE8; Fri, 24 Aug 2007 11:30:02 -0700 (PDT) Received: from relay12.apple.com (unknown [127.0.0.1]) by relay12.apple.com (Symantec Mail Security) with ESMTP id D73BE287CD; Fri, 24 Aug 2007 11:30:01 -0700 (PDT) X-AuditID: 11807135-a6155bb0000040ca-49-46cf23a93684 Received: from gdbrulez.apple.com (gdbrulez.apple.com [17.201.22.244]) by relay12.apple.com (Symantec Mail Security) with ESMTP id 34A0928901; Fri, 24 Aug 2007 11:30:01 -0700 (PDT) Cc: Gordon Prieur , gdb@sourceware.org Message-Id: <77356E57-639F-4F6B-B39E-4395D6FC8B87@apple.com> From: Jim Ingham To: Daniel Jacobowitz In-Reply-To: <20070824180208.GA18829@caradoc.them.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.900) Mime-Version: 1.0 (Apple Message framework v900) Subject: Re: Questions about gdb/mi support on the Mac Date: Fri, 24 Aug 2007 18:30:00 -0000 References: <46CF1A71.1020002@sun.com> <20070824180208.GA18829@caradoc.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00201.txt.bz2 As Daniel said, we've pretty freely changed the MI interfaces to make them work with ProjectBuilder, then "Project Builder" then Xcode. When we started working on this 6 years ago, the MI interfaces were pretty rudimentary, so this was necessary. And there wasn't much interest in taking MI changes for the first couple of years we were working on it here, so we gradually drifted apart. There have been several rounds of pulling from our sources to the FSF version by various kind folks on the net - though these often introduced other subtler differences. I haven't ever catalogued what we've changed, however, so I can't off the top of my head tell you what is different. Most of the changes we made to input syntax are documented either in our version of the manual, or in the function headers to the mi implementation functions. The output changes are less well documented. And in our sources we've tried to mark our local diffs with "APPLE LOCAL"; but with the MI stuff, where there are many whole sections of code that we've added, we are less careful about this. There was a short-lived attempt to rationalize the MI interfaces. It seems to have gone quiet, however - I don't think anybody who's actually working on gdb had sufficient motivation to make it worth the time it would take to actually do this. Jim On Aug 24, 2007, at 11:02 AM, Daniel Jacobowitz wrote: > On Fri, Aug 24, 2007 at 10:50:41AM -0700, Gordon Prieur wrote: >> Hi, >> >> What are the known differences between running gdb/mi on a Mac and >> on Windows/Linux/Solaris? I'm debugging problems in netbeans C/C++ >> support (via gdb) on the Mac and am seeing significant differences >> between >> the Mac and other platforms. > > If you are using GDB an Mac OS X, it is Apple's highly customized > version to work with Xcode. You'd really have to ask them about it - > it's got common ancestry with other versions of GDB, but has changed > quite a lot to work better with their IDE. > > -- > Daniel Jacobowitz > CodeSourcery