diff options
author | Doug Evans <dje@google.com> | 2012-01-31 17:48:41 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2012-01-31 17:48:41 +0000 |
commit | d164defdfca8fe0a2a5c89cb87e0aee82c09a4a6 (patch) | |
tree | 4d802f66bb49844355813f6228d120cd13aaac2a /gdb/symtab.h | |
parent | b00119f3599772ed01bace63ee00e8279c7457d8 (diff) | |
download | gdb-d164defdfca8fe0a2a5c89cb87e0aee82c09a4a6.tar.gz |
* symtab.h: Remove outdated comment.
(SYMBOL_MATCHES_NATURAL_NAME): Tweak comment.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r-- | gdb/symtab.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index 4836dd6d16d..7538180d232 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -254,17 +254,9 @@ extern char *symbol_demangled_name (const struct general_symbol_info *symbol); (demangle ? SYMBOL_NATURAL_NAME (symbol) : SYMBOL_LINKAGE_NAME (symbol)) extern int demangle; -/* 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 - match a C++ encoded name, so that "foo::bar(int,long)" is the same as - "foo :: bar (int, long)". - Evaluates to zero if the match fails, or nonzero if it succeeds. */ - -/* 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 - about its behavior.) */ +/* 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) |