mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-11 02:06:59 +08:00
PR c++/11990:
* c-lang.c (cplus_language_defn): Use gdb_demangle. * c-typeprint.c (c_type_print_base): Use gdb_demangle. * cp-support.c (mangled_name_to_comp): Use gdb_demangle. (gdb_demangle): New function. * cp-support.h (gdb_demangle): Declare. * dwarf2read.c (dwarf2_physname, fixup_partial_die) (dwarf2_name): Use gdb_demangle. * gdbtypes.c (check_stub_method): Use gdb_demangle. * gnu-v3-abi.c (gnuv3_rtti_type): Strip @plt and version suffixes from name. (gnuv3_print_method_ptr): Use gdb_demangle. * jv-lang.c (java_demangle): Use gdb_demangle. * jv-typeprint.c (java_type_print_base): Use gdb_demangle. * language.c (unk_lang_demangle): Use gdb_demangle. * symtab.c (symbol_find_demangled_name) (demangle_for_lookup): Use gdb_demangle.
This commit is contained in:
@ -39,6 +39,7 @@
|
||||
#include "gdb_assert.h"
|
||||
#include "charset.h"
|
||||
#include "valprint.h"
|
||||
#include "cp-support.h"
|
||||
|
||||
/* Local functions */
|
||||
|
||||
@ -1010,7 +1011,7 @@ nosideret:
|
||||
|
||||
static char *java_demangle (const char *mangled, int options)
|
||||
{
|
||||
return cplus_demangle (mangled, options | DMGL_JAVA);
|
||||
return gdb_demangle (mangled, options | DMGL_JAVA);
|
||||
}
|
||||
|
||||
/* Find the member function name of the demangled name NAME. NAME
|
||||
|
Reference in New Issue
Block a user