From afa167257180d762c37b049af6ac6dd9ac0e7dbc Mon Sep 17 00:00:00 2001 From: Sami Wagiaalla Date: Fri, 16 Jul 2010 18:39:10 +0000 Subject: Rename cplus_specific mangled_lang. 2010-07-16 Sami Wagiaalla * 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. --- gdb/symtab.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gdb/symtab.h') 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; -- cgit v1.1