aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorSami Wagiaalla <swagiaal@redhat.com>2010-07-16 18:39:10 +0000
committerSami Wagiaalla <swagiaal@redhat.com>2010-07-16 18:39:10 +0000
commitafa167257180d762c37b049af6ac6dd9ac0e7dbc (patch)
tree8b37f2847eb0260b625e902c878c3a2f41d44c7d /gdb/dwarf2read.c
parent183e4ed8bc23eb5396b66e6d4a6167baa429f94d (diff)
downloadgdb-afa167257180d762c37b049af6ac6dd9ac0e7dbc.zip
gdb-afa167257180d762c37b049af6ac6dd9ac0e7dbc.tar.gz
gdb-afa167257180d762c37b049af6ac6dd9ac0e7dbc.tar.bz2
Rename cplus_specific mangled_lang.
2010-07-16 Sami Wagiaalla <swagiaal@redhat.com> * symtab.h: Renamed cplus_specific to mangled_lang. * symtab.c (symbol_init_language_specific): Updated. (symbol_set_names): Updated. (symbol_natural_name): Updated. (symbol_demangled_name): Updated. * ada-lang.c (ada_decode_symbol): Updated. * dwarf2read.c (new_symbol): Updated.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 6ac503e..8f129b9 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -9743,8 +9743,8 @@ new_symbol (struct die_info *die, struct type *type, struct dwarf2_cu *cu)
/* Fortran does not have mangling standard and the mangling does differ
between gfortran, iFort etc. */
if (cu->language == language_fortran
- && sym->ginfo.language_specific.cplus_specific.demangled_name == NULL)
- sym->ginfo.language_specific.cplus_specific.demangled_name
+ && sym->ginfo.language_specific.mangled_lang.demangled_name == NULL)
+ sym->ginfo.language_specific.mangled_lang.demangled_name
= (char *) dwarf2_full_name (name, die, cu);
/* Default assumptions.