This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA/dwarf2] Use SYMBOL_SEARCH_NAME to set type name
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Elena Zannoni <ezannoni at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 30 Nov 2004 19:05:22 -0800
- Subject: Re: [RFA/dwarf2] Use SYMBOL_SEARCH_NAME to set type name
- References: <20041022213911.GJ21300@gnat.com> <20041101195035.GJ27334@gnat.com> <16810.33923.904081.661032@localhost.redhat.com>
> > > 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