This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[RFA/dwarf2] Use SYMBOL_SEARCH_NAME to set type name
- From: Joel Brobecker <brobecker at gnat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 22 Oct 2004 14:39:11 -0700
- Subject: [RFA/dwarf2] Use SYMBOL_SEARCH_NAME to set type name
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