aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
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/symtab.h
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/symtab.h')
-rw-r--r--gdb/symtab.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 62e9ce4..30de42d 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -124,12 +124,13 @@ struct general_symbol_info
union
{
- struct cplus_specific
+ /* This is used by languages which wish to store a demangled name.
+ currently used by Ada, Java, and Objective C.*/
+ struct mangled_lang
{
- /* This is in fact used for C++, Java, and Objective C. */
char *demangled_name;
}
- cplus_specific;
+ mangled_lang;
}
language_specific;