aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-05-15 22:23:24 +0000
committerAndrew Cagney <cagney@redhat.com>2003-05-15 22:23:24 +0000
commite06963ffef465de9702443d1f3e04b7d34fa5616 (patch)
treef22750dc6f631587889bbe9cd9c25476e592dcbe /gdb/symtab.h
parent973177d3c5d517f8de4b4f1b7a4a75c9e5936375 (diff)
downloadgdb-e06963ffef465de9702443d1f3e04b7d34fa5616.zip
gdb-e06963ffef465de9702443d1f3e04b7d34fa5616.tar.gz
gdb-e06963ffef465de9702443d1f3e04b7d34fa5616.tar.bz2
2003-05-15 Andrew Cagney <cagney@redhat.com>
* symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Delete macro. * minsyms.c (lookup_minimal_symbol): Inline DEPRECATED_SYMBOL_MATCHES_NAME. Replace STREQ with strcmp.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 000ae0e..f8be03b 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -219,16 +219,6 @@ extern char *symbol_demangled_name (struct general_symbol_info *symbol);
"foo :: bar (int, long)".
Evaluates to zero if the match fails, or nonzero if it succeeds. */
-/* FIXME: carlton/2003-02-27: This is an unholy mixture of linkage
- names and natural names. If you want to test the linkage names
- with strcmp, do that. If you want to test the natural names with
- strcmp_iw, use SYMBOL_MATCHES_NATURAL_NAME. */
-
-#define DEPRECATED_SYMBOL_MATCHES_NAME(symbol, name) \
- (STREQ (DEPRECATED_SYMBOL_NAME (symbol), (name)) \
- || (SYMBOL_DEMANGLED_NAME (symbol) != NULL \
- && strcmp_iw (SYMBOL_DEMANGLED_NAME (symbol), (name)) == 0))
-
/* Macro that tests a symbol for a match against a specified name
string. It tests against SYMBOL_NATURAL_NAME, and it ignores
whitespace and trailing parentheses. (See strcmp_iw for details