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/symfile-debug.c | |
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/symfile-debug.c')
-rw-r--r-- | gdb/symfile-debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symfile-debug.c b/gdb/symfile-debug.c index 59dbaf1..f1a8f5e 100644 --- a/gdb/symfile-debug.c +++ b/gdb/symfile-debug.c @@ -257,14 +257,14 @@ objfile::lookup_symbol (block_enum kind, const char *name, domain_enum domain) information (but NAME might contain it). */ if (sym != NULL - && SYMBOL_MATCHES_SEARCH_NAME (sym, lookup_name)) + && symbol_matches_search_name (sym, lookup_name)) { retval = stab; /* Found it. */ return false; } if (with_opaque != NULL - && SYMBOL_MATCHES_SEARCH_NAME (with_opaque, lookup_name)) + && symbol_matches_search_name (with_opaque, lookup_name)) retval = stab; /* Keep looking through other psymtabs. */ |