diff options
author | David Carlton <carlton@bactrian.org> | 2003-03-03 18:01:33 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2003-03-03 18:01:33 +0000 |
commit | 2266bd5f452e9cf3af4f44e621df240f8834da85 (patch) | |
tree | a1e9fb8083a12229f4915083e28d2cc456499eb6 /gdb/symtab.h | |
parent | de3ceb48e3eaf481344bbe1772efc1b1fab7f38b (diff) | |
download | gdb-2266bd5f452e9cf3af4f44e621df240f8834da85.tar.gz |
2003-03-03 David Carlton <carlton@math.stanford.edu>
* symtab.h (SYMBOL_MATCHES_REGEXP): Delete.
* symtab.c (search_symbols): Replace uses of SYMBOL_MATCHES_REGEXP
by regexp matching against SYMBOL_NATURAL_NAME.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r-- | gdb/symtab.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index 227736d9feb..9e515de9321 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -222,16 +222,6 @@ extern char *symbol_demangled_name (struct general_symbol_info *symbol); || (SYMBOL_DEMANGLED_NAME (symbol) != NULL \ && strcmp_iw (SYMBOL_DEMANGLED_NAME (symbol), (name)) == 0)) -/* Macro that tests a symbol for an re-match against the last compiled regular - expression. First test the unencoded name, then look for and test a C++ - encoded name if it exists. - Evaluates to zero if the match fails, or nonzero if it succeeds. */ - -#define SYMBOL_MATCHES_REGEXP(symbol) \ - (re_exec (DEPRECATED_SYMBOL_NAME (symbol)) != 0 \ - || (SYMBOL_DEMANGLED_NAME (symbol) != NULL \ - && re_exec (SYMBOL_DEMANGLED_NAME (symbol)) != 0)) - /* Define a simple structure used to hold some very basic information about all defined global symbols (text, data, bss, abs, etc). The only required information is the general_symbol_info. |