From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4042 invoked by alias); 28 Aug 2007 08:49:56 -0000 Received: (qmail 3995 invoked by uid 22791); 28 Aug 2007 08:49:54 -0000 X-Spam-Check-By: sourceware.org Received: from esparsett.troll.no (HELO esparsett.troll.no) (62.70.27.18) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 28 Aug 2007 08:49:50 +0000 Received: from esparsett.troll.no (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 6A91474360 for ; Tue, 28 Aug 2007 10:49:48 +0200 (CEST) Received: from gar.local (unknown [10.4.0.24]) by esparsett.troll.no (Postfix) with ESMTP id 4DD3C74350 for ; Tue, 28 Aug 2007 10:49:48 +0200 (CEST) From: =?iso-8859-1?q?Andr=E9_P=F6nitz?= To: gdb@sourceware.org Subject: Re: Questions about gdb/mi support on the Mac Date: Tue, 28 Aug 2007 08:49:00 -0000 User-Agent: KMail/1.9.6 References: <46CF1A71.1020002@sun.com> <20070824180208.GA18829@caradoc.them.org> <20070824184315.GB6213@cox.net> In-Reply-To: <20070824184315.GB6213@cox.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708281049.47440.apoenitz@trolltech.com> 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/msg00225.txt.bz2 On Friday 24 August 2007 20:43:15 Bob Rossi wrote: > On Fri, Aug 24, 2007 at 02:02:08PM -0400, 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. > > That's disappointing. Does that mean that a front end written to work on > all other platforms with fsf gdb wouldn't work on Mac OS X? It doesn't necessarily mean that. Mac Gdb/Mi behaves still in most cases like FSF Gdb/Mi, there are only a handful exceptions that usually need only some minor tweaks like adding a second code path in the interpretation of the result. A bit more annoying is the different set of output data on different platforms as this means some shortcuts when retrieving "a full set of data" that can be taken on one platform does not necessarily work on the other, leading to either using the lowest common denominator or having even larger separate code paths. Andre'