aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-02-04 21:37:03 +0000
committerDavid Carlton <carlton@bactrian.org>2003-02-04 21:37:03 +0000
commit406fc7fbebc6e4493f0fc348c434d01c7bde2d9b (patch)
tree6ce32fc7adcce32fb1f4979559962756a17be7a0 /gdb/symtab.h
parent93d91629613637c599e9fd7e0d8f7f541af74ea1 (diff)
downloadgdb-406fc7fbebc6e4493f0fc348c434d01c7bde2d9b.zip
gdb-406fc7fbebc6e4493f0fc348c434d01c7bde2d9b.tar.gz
gdb-406fc7fbebc6e4493f0fc348c434d01c7bde2d9b.tar.bz2
2003-02-04 David Carlton <carlton@math.stanford.edu>
* symtab.h (SYMBOL_LINKAGE_NAME): Delete. * printcmd.c (build_address_symbolic): Replace uses of SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME, SYMBOL_NAME, and asm_demangle. Update copyright.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index b21081d..2c83929 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -178,17 +178,6 @@ extern char *symbol_demangled_name (struct general_symbol_info *symbol);
? SYMBOL_DEMANGLED_NAME (symbol) \
: SYMBOL_NAME (symbol))
-/* Macro that returns the "natural assembly name" of a symbol. In C++ this is
- the "mangled" form of the name if demangle is off, or if demangle is on and
- asm_demangle is off. Otherwise if asm_demangle is on it is the "demangled"
- form. In other languages this is just the symbol name. The result should
- never be NULL. */
-
-#define SYMBOL_LINKAGE_NAME(symbol) \
- (demangle && asm_demangle && SYMBOL_DEMANGLED_NAME (symbol) != NULL \
- ? SYMBOL_DEMANGLED_NAME (symbol) \
- : SYMBOL_NAME (symbol))
-
/* Macro that tests a symbol for a match against a specified name string.
First test the unencoded name, then looks for and test a C++ encoded
name if it exists. Note that whitespace is ignored while attempting to