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


With the patch, I think I have a better change of getting a review...



On Fri, Oct 22, 2004 at 02:39:11PM -0700, Joel Brobecker wrote:
> Right now, new_symbol() in dwarf2read.c sometimes sets the type name
> using the SYMBOL_NATURAL_NAME. This is causing problems with Ada,
> because contrary to C++ or Java, we chose to perform our searches using
> the mangled name, not the demangled one.
> 
> 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.
> 
> Tested on x86-linux. No regression. 
> OK to apply?

-- 
Joel

Attachment: dwarf2read.c.diff
Description: Text document


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