mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
gdb: drop struct keyword when using bound_minimal_symbol
This is a simple find / replace from "struct bound_minimal_symbol" to "bound_minimal_symbol", to make things shorter and more consisten througout. In some cases, move variable declarations where first used. Change-Id: Ica4af11c4ac528aa842bfa49a7afe8fe77a66849 Reviewed-by: Keith Seitz <keiths@redhat.com> Approved-By: Andrew Burgess <aburgess@redhat.com>
This commit is contained in:
committed by
Simon Marchi
parent
10ac7e80c0
commit
03b40f6f55
@@ -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)
|
||||
{
|
||||
struct bound_minimal_symbol msym = lookup_bound_minimal_symbol ("_rtld_bind");
|
||||
bound_minimal_symbol msym = lookup_bound_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