diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2021-11-21 13:50:39 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2022-02-06 16:03:46 -0500 |
commit | 81e32b6a84c54031d31de6ebcf74a91b29d1498a (patch) | |
tree | c547e67947ec7c24adf3efb3d3f9d24d91894617 /gdb/symtab.h | |
parent | 3574a7b3f1251bfc7d1dd429ae33da07897f5b4b (diff) | |
download | gdb-81e32b6a84c54031d31de6ebcf74a91b29d1498a.zip gdb-81e32b6a84c54031d31de6ebcf74a91b29d1498a.tar.gz gdb-81e32b6a84c54031d31de6ebcf74a91b29d1498a.tar.bz2 |
gdb: remove SYMBOL_MATCHES_SEARCH_NAME
It seems like this macro is not needed at all anymore, it just wraps the
function of the same name with the same arguments.
Change-Id: I3c342ac8d89c27af5aee1a819dc32cc6396fd41b
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r-- | gdb/symtab.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index 88dab00..a765d1a 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -595,13 +595,8 @@ extern CORE_ADDR get_symbol_address (const struct symbol *sym); extern gdb::unique_xmalloc_ptr<char> symbol_find_demangled_name (struct general_symbol_info *gsymbol, const char *mangled); -/* Return true if NAME matches the "search" name of SYMBOL, according +/* Return true if NAME matches the "search" name of GSYMBOL, according to the symbol's language. */ -#define SYMBOL_MATCHES_SEARCH_NAME(symbol, name) \ - symbol_matches_search_name ((symbol), (name)) - -/* Helper for SYMBOL_MATCHES_SEARCH_NAME that works with both symbols - and psymbols. */ extern bool symbol_matches_search_name (const struct general_symbol_info *gsymbol, const lookup_name_info &name); |