From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28453 invoked by alias); 8 Sep 2003 13:46:12 -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 28434 invoked from network); 8 Sep 2003 13:46:12 -0000 Received: from unknown (HELO smtp.inode.at) (62.99.194.4) by sources.redhat.com with SMTP; 8 Sep 2003 13:46:12 -0000 Received: from line-l-100.adsl-dynamic.inode.at ([81.223.107.100]:1939 helo=inode.at) by smtp.inode.at with esmtp (Exim 4.10) id 19wMLH-00072A-00; Mon, 08 Sep 2003 15:46:07 +0200 Message-ID: <3F5C882D.4010208@inode.at> Date: Mon, 08 Sep 2003 13:46:00 -0000 From: David Ayers User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030827 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Adam Fedor CC: "gdb-patches@sources.redhat.com" Subject: Re: [RFC]: Better ObjC symbol skipping in decode_line_1 References: <1059663909.1116.23.camel@localhost.localdomain> In-Reply-To: <1059663909.1116.23.camel@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-09/txt/msg00114.txt.bz2 Adam Fedor wrote: >This patch fixes a problem with ObjC symbols not being properly skipped >over during decode_line_1 processing. ObjC symbols can have spaces and >parenthesis in them, so they need special handling, otherwise you get >odd warnings like: > >Error in re-setting breakpoint 2: >Function "-[NSObject(NEXTSTEP)" not defined. > >or > >Error in re-setting breakpoint 2: >Function "" not defined. > > > > > >------------------------------------------------------------------------ > >2003-07-31 Adam Fedor > > * gdb/linespec.c (is_objc_method_format): New function > (decode_line_1, locate_first_half): Use it. > > I know Adam has asked this before, but I'm unsure if there was a definite reply, so let me reiterate... Can this patch go into 6.0? (Please... :-) ) It really makes ObjC support look much better on its debut, and as Michael Chastain already mentioned, it has been on mainline for quite some time now working beautifully. Cheers, David Ayers