diff options
Diffstat (limited to 'gdb/obsd-tdep.c')
-rw-r--r-- | gdb/obsd-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/obsd-tdep.c b/gdb/obsd-tdep.c index a0bf462..fc100e2 100644 --- a/gdb/obsd-tdep.c +++ b/gdb/obsd-tdep.c @@ -26,10 +26,10 @@ CORE_ADDR obsd_skip_solib_resolver (struct gdbarch *gdbarch, CORE_ADDR pc) { - struct minimal_symbol *msym; + struct bound_minimal_symbol msym; msym = lookup_minimal_symbol("_dl_bind", NULL, NULL); - if (msym && MSYMBOL_VALUE_ADDRESS (msym) == pc) + if (msym.minsym && MSYMBOL_VALUE_ADDRESS (msym.minsym) == pc) return frame_unwind_caller_pc (get_current_frame ()); else return find_solib_trampoline_target (get_current_frame (), pc); |