From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17641 invoked by alias); 8 Sep 2003 18:43:29 -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 17624 invoked from network); 8 Sep 2003 18:43:28 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 8 Sep 2003 18:43:28 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h88IhQl05622 for ; Mon, 8 Sep 2003 14:43:26 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h88IhOs14286 for ; Mon, 8 Sep 2003 14:43:24 -0400 Received: from localhost.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id h88IhO2L024561 for ; Mon, 8 Sep 2003 14:43:24 -0400 Received: by localhost.redhat.com (Postfix, from userid 469) id BB52A2CA3D; Mon, 8 Sep 2003 14:52:09 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16220.53209.420727.819654@localhost.redhat.com> Date: Mon, 08 Sep 2003 18:43:00 -0000 To: David Ayers Cc: Adam Fedor , "gdb-patches@sources.redhat.com" Subject: Re: [RFC]: Better ObjC symbol skipping in decode_line_1 In-Reply-To: <3F5C882D.4010208@inode.at> References: <1059663909.1116.23.camel@localhost.localdomain> <3F5C882D.4010208@inode.at> X-SW-Source: 2003-09/txt/msg00121.txt.bz2 David Ayers writes: > 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 > I don't think it would do any harm on gdb-6. So it could go in, if changes are still allowed. elena