aboutsummaryrefslogtreecommitdiff
path: root/gdb/obsd-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/obsd-tdep.c')
-rw-r--r--gdb/obsd-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/obsd-tdep.c b/gdb/obsd-tdep.c
index cb941fb..7667bac 100644
--- a/gdb/obsd-tdep.c
+++ b/gdb/obsd-tdep.c
@@ -30,7 +30,7 @@ obsd_skip_solib_resolver (struct gdbarch *gdbarch, CORE_ADDR pc)
msym = lookup_minimal_symbol("_dl_bind", NULL, NULL);
if (msym && SYMBOL_VALUE_ADDRESS (msym) == pc)
- return frame_pc_unwind (get_current_frame ());
+ return frame_unwind_caller_pc (get_current_frame ());
else
return find_solib_trampoline_target (get_current_frame (), pc);
}