diff options
Diffstat (limited to 'gdb/netbsd-tdep.c')
-rw-r--r-- | gdb/netbsd-tdep.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/netbsd-tdep.c b/gdb/netbsd-tdep.c index 953b329..3793bd2 100644 --- a/gdb/netbsd-tdep.c +++ b/gdb/netbsd-tdep.c @@ -1,6 +1,6 @@ /* Common target-dependent code for NetBSD systems. - Copyright (C) 2002-2024 Free Software Foundation, Inc. + Copyright (C) 2002-2025 Free Software Foundation, Inc. Contributed by Wasabi Systems, Inc. @@ -348,9 +348,8 @@ nbsd_gdb_signal_to_target (struct gdbarch *gdbarch, static CORE_ADDR nbsd_skip_solib_resolver (struct gdbarch *gdbarch, CORE_ADDR pc) { - struct bound_minimal_symbol msym; - - msym = lookup_minimal_symbol ("_rtld_bind_start", NULL, NULL); + bound_minimal_symbol msym + = lookup_minimal_symbol (current_program_space, "_rtld_bind_start"); if (msym.minsym && msym.value_address () == pc) return frame_unwind_caller_pc (get_current_frame ()); else |