summaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-01-31 18:19:45 +0000
committerDoug Evans <dje@google.com>2012-01-31 18:19:45 +0000
commit9f4639b06b6b5aa5d10f7575d3ecaafbf918eec7 (patch)
tree2daff156563d5b8768c2dd0024a3c74ff96278e7 /gdb/symtab.h
parent8b22ee5affab4e306a7f0ab33c4c7cd769fa6920 (diff)
downloadgdb-9f4639b06b6b5aa5d10f7575d3ecaafbf918eec7.tar.gz
* symtab.h: (SYMBOL_MATCHES_NATURAL_NAME): Delete.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 7538180d232..5541402aff6 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -254,13 +254,6 @@ extern char *symbol_demangled_name (const struct general_symbol_info *symbol);
(demangle ? SYMBOL_NATURAL_NAME (symbol) : SYMBOL_LINKAGE_NAME (symbol))
extern int demangle;
-/* Return non-zero if NAME matches the "natural" name of SYMBOL.
- Whitespace and trailing parentheses are ignored.
- See strcmp_iw for details about its behavior. */
-
-#define SYMBOL_MATCHES_NATURAL_NAME(symbol, name) \
- (strcmp_iw (SYMBOL_NATURAL_NAME (symbol), (name)) == 0)
-
/* Macro that returns the name to be used when sorting and searching symbols.
In C++, Chill, and Java, we search for the demangled form of a name,
and so sort symbols accordingly. In Ada, however, we search by mangled
@@ -270,8 +263,9 @@ extern int demangle;
(symbol_search_name (&(symbol)->ginfo))
extern char *symbol_search_name (const struct general_symbol_info *);
-/* Analogous to SYMBOL_MATCHES_NATURAL_NAME, but uses the search
- name. */
+/* Return non-zero if NAME matches the "search" name of SYMBOL.
+ Whitespace and trailing parentheses are ignored.
+ See strcmp_iw for details about its behavior. */
#define SYMBOL_MATCHES_SEARCH_NAME(symbol, name) \
(strcmp_iw (SYMBOL_SEARCH_NAME (symbol), (name)) == 0)