This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
RE: [PING/RFA]: Search for Objc Symbols
- From: "Adam Fedor" <fedor at doc dot com>
- To: "Elena Zannoni" <ezannoni at redhat dot com>
- Cc: "GDB Patches" <gdb-patches at sources dot redhat dot com>
- Date: Mon, 12 May 2003 17:02:43 -0400
- Subject: RE: [PING/RFA]: Search for Objc Symbols
> -----Original Message-----
> From: Elena Zannoni [mailto:ezannoni@redhat.com]
> Sent: Monday, May 12, 2003 2:56 PM
> To: Adam Fedor
> Cc: Elena Zannoni; GDB Patches
> Subject: Re: [PING/RFA]: Search for Objc Symbols
>
>
> Adam Fedor writes:
> > I've broken out the changes into their own functions.
> Looking at the
> > comments in make_file_symbol_completion_list now, it seems
> like the
> > language_search_unquoted_string function or something
> similar should go
> > in the language vector. But I'm not sure that's necessary,
> so I didn't
> > want to do it unless some one made me :-)
>
> I think for now you can just add a FIXME to the functions and say that
> they should be integrated with the language vector. There are other
> things in the symbol table that could be pushed out because they are
> more language specific, but I want to think about it (especially with
> the namespace changes coming through).
>
> So, this can go in, if you address the concerns that DavidC expressed.
>
> Is this really it??? We have objc?? :-)
>
Yes(**)! Thanks to everyone who helped get it into gdb.
** The only remaining thing is the hacked out architecture dependant part of objc-lang.c, which only affects systems using the Apple Objective-C runtime. Although, the main gdb line doesn't even configure/compile on Darwin which is the only system that uses the Apple runtime. I actually have a patch to fix this and put the functions into gdbarch, but I'm hesitant to submit them right now as, obviously, I can't test them...