diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-09-19 03:58:41 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-09-19 03:58:41 +0000 |
commit | 389e51db103b5c811f1849228c2c5e9e71062f5a (patch) | |
tree | f29314af18fc82fc8eaeaf5b9ac5ddb55d09fd5c /gdb/symtab.h | |
parent | 3b4efeaa2da94f19becde56d8c8f9693367acafc (diff) | |
download | gdb-389e51db103b5c811f1849228c2c5e9e71062f5a.zip gdb-389e51db103b5c811f1849228c2c5e9e71062f5a.tar.gz gdb-389e51db103b5c811f1849228c2c5e9e71062f5a.tar.bz2 |
Revert previous change. Not obvious.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r-- | gdb/symtab.h | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index 6162256..ba04a98 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -89,11 +89,6 @@ struct general_symbol_info char *demangled_name; } cplus_specific; - struct objc_specific - { - char *demangled_name; - } - objc_specific; #if 0 /* OBSOLETE struct chill_specific *//* For Chill */ /* OBSOLETE { */ @@ -151,10 +146,6 @@ extern CORE_ADDR symbol_overlayed_address (CORE_ADDR, asection *); { \ SYMBOL_CPLUS_DEMANGLED_NAME (symbol) = NULL; \ } \ - else if (SYMBOL_LANGUAGE (symbol) == language_objc) \ - { \ - SYMBOL_OBJC_DEMANGLED_NAME (symbol) = NULL; \ - } \ /* OBSOLETE else if (SYMBOL_LANGUAGE (symbol) == language_chill) */ \ /* OBSOLETE { */ \ /* OBSOLETE SYMBOL_CHILL_DEMANGLED_NAME (symbol) = NULL; */ \ @@ -179,18 +170,13 @@ extern void symbol_init_demangled_name (struct general_symbol_info *symbol, (SYMBOL_LANGUAGE (symbol) == language_cplus \ || SYMBOL_LANGUAGE (symbol) == language_java \ ? SYMBOL_CPLUS_DEMANGLED_NAME (symbol) \ - : (SYMBOL_LANGUAGE (symbol) == language_objc \ - ? SYMBOL_OBJC_DEMANGLED_NAME (symbol) \ : /* OBSOLETE (SYMBOL_LANGUAGE (symbol) == language_chill */ \ /* OBSOLETE ? SYMBOL_CHILL_DEMANGLED_NAME (symbol) */ \ - NULL)) + NULL) /* OBSOLETE #define SYMBOL_CHILL_DEMANGLED_NAME(symbol) */ /* OBSOLETE (symbol)->ginfo.language_specific.chill_specific.demangled_name */ -#define SYMBOL_OBJC_DEMANGLED_NAME(symbol) \ - (symbol)->ginfo.language_specific.objc_specific.demangled_name - /* Macro that returns the "natural source name" of a symbol. In C++ this is the "demangled" form of the name if demangle is on and the "mangled" form of the name if demangle is off. In other languages this is just the |