From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4916 invoked by alias); 23 Apr 2003 03:00:41 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 4909 invoked from network); 23 Apr 2003 03:00:40 -0000 Received: from unknown (63.119.183.65) by sources.redhat.com with QMTP; 23 Apr 2003 03:00:40 -0000 Received: (qmail 14582 invoked from network); 23 Apr 2003 02:03:27 -0000 Received: from cpe-24-221-209-215.co.sprintbbd.net (HELO doc.com) (24.221.209.215) by external1 with SMTP; 23 Apr 2003 02:03:27 -0000 Date: Wed, 23 Apr 2003 08:32:00 -0000 Subject: Re: [RFC] Trivialize objc-lang.c FETCH_ARGUMENT Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) Cc: GDB Patches To: Michael Snyder From: Adam Fedor In-Reply-To: <3EA5EF33.5EC2F8CE@redhat.com> Message-ID: <5D31A204-752F-11D7-A2CD-000A277AC1A4@doc.com> Content-Transfer-Encoding: 7bit X-SW-Source: 2003-04/txt/msg00431.txt.bz2 Message-ID: <20030423083200.qDgpjawI30J1oT6ez7SFY6QbTOofcMMsaX0vGL6Hrwc@z> On Tuesday, April 22, 2003, at 07:41 PM, Michael Snyder wrote: > Adam Fedor wrote: >> >> Well, I thought I'd at least try to see if this patch would be ok. >> Here >> I replace the arcitecture dependant FETCH_ARGUMENT with a trivial >> implementation that does nothing. This would allow objc-lang.o to be >> linked into gdb and I commit most or all of the remaining Objective-C >> patches. Then I could work on fixing FETCH_ARGUMENT at my leasure... > > That seems reasonable. By the way, if there's been an ongoing > discussion, > I haven't followed it. Why is it that you need to do this in an > architecture-dependent way? GDB should have enough debug info to > do this cleanly, shouldn't it? > It's possible, although these particular functions are in the Apple runtime and highly optimized, possibly in assembly. I'm not sure if the information is available. I'll have to look at it more, but I couldn't even test the changes since it only works on MacOSX/Darwin and GNU gdb doesn't compile on Darwin.