This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC]: Better ObjC symbol skipping in decode_line_1
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: David Ayers <d dot ayers at inode dot at>
- Cc: Adam Fedor <fedor at doc dot com>, "gdb-patches at sources dot redhat dot com" <gdb-patches at sources dot redhat dot com>
- Date: Mon, 8 Sep 2003 14:52:09 -0400
- Subject: Re: [RFC]: Better ObjC symbol skipping in decode_line_1
- References: <1059663909.1116.23.camel@localhost.localdomain><3F5C882D.4010208@inode.at>
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 <fedor@gnu.org>
> >
> > * 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