diff options
author | Doug Evans <dje@google.com> | 2012-01-31 18:19:49 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-01-31 18:19:49 +0000 |
commit | e9111bf715b0c5b59f1ac73e0a07eae5b4ae1562 (patch) | |
tree | 989194d1cf81919bb0c9508d02e0030ba0445d36 /gdb | |
parent | b7761f11062dc4d4fd554342ac2d2fb235b65b7a (diff) | |
download | gdb-e9111bf715b0c5b59f1ac73e0a07eae5b4ae1562.zip gdb-e9111bf715b0c5b59f1ac73e0a07eae5b4ae1562.tar.gz gdb-e9111bf715b0c5b59f1ac73e0a07eae5b4ae1562.tar.bz2 |
* symtab.h: (SYMBOL_MATCHES_NATURAL_NAME): Delete.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/symtab.h | 12 |
2 files changed, 4 insertions, 10 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e94ad88..67f7598 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,7 +1,7 @@ 2012-01-31 Doug Evans <dje@google.com> * symtab.h: Remove outdated comment. - (SYMBOL_MATCHES_NATURAL_NAME): Tweak comment. + (SYMBOL_MATCHES_NATURAL_NAME): Delete. 2012-01-30 Tom Tromey <tromey@redhat.com> diff --git a/gdb/symtab.h b/gdb/symtab.h index 7538180..5541402 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) |