From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13054 invoked by alias); 16 Aug 2008 22:07:33 -0000 Received: (qmail 12926 invoked by uid 22791); 16 Aug 2008 22:07:33 -0000 X-Spam-Check-By: sourceware.org Received: from delta357.server4you.de (HELO delta357.server4you.de) (85.25.136.128) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 16 Aug 2008 22:06:51 +0000 Received: from [62.12.134.36] (helo=PowerMac-G5.local) by delta357.server4you.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1KUTv6-0004PS-Qz; Sun, 17 Aug 2008 00:06:49 +0200 Message-ID: <48A74F72.2010400@emmenlauer.de> Date: Sun, 17 Aug 2008 14:56:00 -0000 From: Mario Emmenlauer User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: "Dr. Rolf Jansen" CC: gdb@sourceware.org References: <48A6E7E9.3070004@emmenlauer.de> <958EAB4C-D513-4823-9111-25A6F5743307@surtec.com> <48A6FBFB.5010202@emmenlauer.de> <70C46A91-B195-4AAA-9EB9-7D97B93A4519@surtec.com> In-Reply-To: <70C46A91-B195-4AAA-9EB9-7D97B93A4519@surtec.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 62.12.134.36 X-SA-Exim-Mail-From: mario@emmenlauer.de Subject: Re: gdb supported on powerpc-apple-darwin ? X-SA-Exim-Version: 4.2.1 (built Tue, 03 Jun 2008 21:09:08 +0000) X-SA-Exim-Scanned: Yes (on delta357.server4you.de) 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: 2008-08/txt/msg00207.txt.bz2 Hi, Dr. Rolf Jansen wrote: >>>> Which version of FSF gdb does gdb-908 compare to? >>> Compare in which respect? Which features are you looking for? >> >> The question was based on the assumption that there is a common patch >> base on both forks. If the information exchange is little, it does not >> make sense to try to compare. >> >> I'm not actually missing a specific feature. I have rather experienced >> bad performance and integration with my favorite GUI, using the mi >> (actually mi2, I believe) interface. I read that the Apple fork is not >> completely compatible in respect to this interface, for the sake of >> better Xcode integration, which made me hope the FSF gdb would work >> better. > > Well you have three options: > > 1. if you favourite GUI is open source, then you can try > to accomodate for the Apples mi dialect there. Sadly, it isn't. But I called on the developers, lets see what happens. > OR > > 2. you can add in the FSF mi into Apples GDB. This > sounds more complicated than it is. I did this > the other way around. I produced an mi for Xcode > called miX and mixed it into the current FSF > GDB. With that I can do cross platform debugging > from within Xcode. > > I saw your post in this regard, quite nice! It seems a good starting point if I should decide to contribute to gdb. > To make a reasonable decision for 1 | 2 | 3, you might first want to > figure out which MI commands are mis-understood by Apples-gdb or which > MI results are mis-understood by your favourite GUI. > > For this you might want to let your GUI call gdb by the way of a proxy > shell script. This shell script contains the following lines: > > #!/bin/sh > tee ~/Desktop/gdb-session.in | /usr/bin/gdb --interp=mi2 | tee > ~/Desktop/gdb-session.out Thanks, this is indeed the first thing to do. I will check and see whats going on between the GUI and gdb, and which commands exactly confuse the former. I already know that these are few, so with some luck I can even avoid them. Cheers, Mario