[RFA/dwarf2] Use SYMBOL_SEARCH_NAME to set type name
Joel Brobecker
brobecker@gnat.com
Fri Oct 22 21:39:00 GMT 2004
Hello,
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?
Thanks,
--
Joel
More information about the Gdb-patches
mailing list