gdb: remove lookup_bound_minimal_symbol

Now that lookup_minimal_symbol has default values for sfile and objf,
calling lookup_bound_minimal_symbol is identical to calling
lookup_minimal_symbol without sfile and objf.  Remove
lookup_bound_minimal_symbol, replace call sites with
lookup_minimal_symbol.

Change-Id: I0a420fb56de1de8bee8a7303228c9e4546e3577b
Reviewed-by: Keith Seitz <keiths@redhat.com>
Approved-By: Andrew Burgess <aburgess@redhat.com>
This commit is contained in:
Simon Marchi
2024-07-16 23:52:01 -04:00
parent c8979ae4fb
commit 8d2f4b7c31
20 changed files with 22 additions and 37 deletions

View File

@@ -453,7 +453,7 @@ gcc_cplus_symbol_address (void *datum, struct gcc_cp_context *gcc_context,
}
else
{
bound_minimal_symbol msym = lookup_bound_minimal_symbol (identifier);
bound_minimal_symbol msym = lookup_minimal_symbol (identifier);
if (msym.minsym != nullptr)
{
if (compile_debug)