From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14482 invoked by alias); 25 Dec 2002 03:25:54 -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 14475 invoked from network); 25 Dec 2002 03:25:53 -0000 Received: from unknown (63.119.183.65) by 209.249.29.67 with QMTP; 25 Dec 2002 03:25:53 -0000 Received: (qmail 27954 invoked from network); 25 Dec 2002 03:23:37 -0000 Received: from cpe-24-221-209-215.co.sprintbbd.net (HELO doc.com) (24.221.209.215) by external1 with SMTP; 25 Dec 2002 03:23:37 -0000 Message-ID: <3E092537.5020507@doc.com> Date: Wed, 25 Dec 2002 21:12:00 -0000 From: Adam Fedor User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.1) Gecko/20020905 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Snyder CC: gdb-patches@sources.redhat.com, Daniel Jacobowitz Subject: Re: Ping on ObjC Patches References: <4DEC8A66-1376-11D7-B39E-000A277AC1A4@doc.com> <3E07A692.6919EDFA@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-12/txt/msg00675.txt.bz2 Daniel Jacobowitz wrote: > On Mon, Dec 23, 2002 at 04:13:06PM -0800, Michael Snyder wrote: > > > And, > > > Add expected type to hand_function_call (only a week or so old) > > > http://sources.redhat.com/ml/gdb-patches/2002-12/msg00320.html > > > > If I recall, isn't there some controversy about this one? > > Adam, does ObjC actually need this patch, or was it only used by the > expected-type syntax change that Klee posted about? We never came to a > consensus about that. After reading Klee's patch, I'd have to say that, no, it's not necessary for ObjC, anymore than it would be for C. however, I think it is much more relavent for ObjC, since it is even harder to cast an ObjC method than it is to cast a C function. For one thing, every ObjC method contains two hidden arguments. If you're good at ObjC, you know that, but even so, it's an awful lot of work to do that rather than just cast the return type. So it goes back to the merits of Klee's original patch, though it's much more useful with ObjC. -- Adam Fedor, Digital Optics Corp. | I'm glad I hate spinach, because http://www.doc.com | if I didn't, I'd eat it, and you | know how I hate the stuff.