aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2003-03-03 18:01:33 +0000
committerDavid Carlton <carlton@bactrian.org>2003-03-03 18:01:33 +0000
commit25120b0d7a5d5e498fa200d6d14d8ee2cf0cb493 (patch)
tree9b9a530b2ae421c267083cb7f95a39839e0831a2 /gdb/symtab.h
parent78a11fb4746474c9b518f784cbd9f0806fc0c1ea (diff)
downloadgdb-25120b0d7a5d5e498fa200d6d14d8ee2cf0cb493.zip
gdb-25120b0d7a5d5e498fa200d6d14d8ee2cf0cb493.tar.gz
gdb-25120b0d7a5d5e498fa200d6d14d8ee2cf0cb493.tar.bz2
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.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 227736d..9e515de 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.