This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/dwarf2] Use SYMBOL_SEARCH_NAME to set type name


>  > > 2004-10-22  Joel Brobecker  <brobecker@gnat.com>
>  > >         
>  > >         From Paul Hilfinger <hilfinger@gnat.com>
>  > >         * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than
>  > >         SYMBOL_NATURAL_NAME to set type names.

> Sigh, this is a hack on top af another.  Unfortunately the initial
> review of the symtab Ada changes wasn't helpful.  I have no choice but
> to let this go in for now, however, please, start thinking of a way to
> get rid of those special cases in SYMBOL_blah_NAME.  Making those
> become part of the language vector comes to mind.

OK, I see Paul, who is the one who knows most about these symbol names
issues, has already answered, so I won't comment on that (I didn't have
much to say anyway :-).

> Can you come up with a test case for gdb.ada that shows the problem,
> and is cured by this patch?

Yes, I think so. I will commit a testcase and then commit this change.
Thanks for your review.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]