]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/obsd-tdep.c
2.41 Release sources
[thirdparty/binutils-gdb.git] / gdb / obsd-tdep.c
index f2c4d2988512886e958b3ae47420b4632db3dd49..fa8292d7e358fbcce3f6bbb5b8c612fd18cdd028 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for OpenBSD.
 
-   Copyright (C) 2005-2020 Free Software Foundation, Inc.
+   Copyright (C) 2005-2023 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -31,7 +31,7 @@ obsd_skip_solib_resolver (struct gdbarch *gdbarch, CORE_ADDR pc)
   struct bound_minimal_symbol msym;
 
   msym = lookup_minimal_symbol("_dl_bind", NULL, NULL);
-  if (msym.minsym && BMSYMBOL_VALUE_ADDRESS (msym) == pc)
+  if (msym.minsym && msym.value_address () == pc)
     return frame_unwind_caller_pc (get_current_frame ());
   else
     return find_solib_trampoline_target (get_current_frame (), pc);