mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 09:38:57 +00:00
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:
@@ -2059,7 +2059,7 @@ fbsd_get_thread_local_address (struct gdbarch *gdbarch, CORE_ADDR dtv_addr,
|
||||
CORE_ADDR
|
||||
fbsd_skip_solib_resolver (struct gdbarch *gdbarch, CORE_ADDR pc)
|
||||
{
|
||||
bound_minimal_symbol msym = lookup_bound_minimal_symbol ("_rtld_bind");
|
||||
bound_minimal_symbol msym = lookup_minimal_symbol ("_rtld_bind");
|
||||
if (msym.minsym != nullptr && msym.value_address () == pc)
|
||||
return frame_unwind_caller_pc (get_current_frame ());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user