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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/obsd-tdep.c b/gdb/obsd-tdep.c
index 5142984..fab05b7 100644
--- a/gdb/obsd-tdep.c
+++ b/gdb/obsd-tdep.c
@@ -27,9 +27,7 @@
CORE_ADDR
obsd_skip_solib_resolver (struct gdbarch *gdbarch, CORE_ADDR pc)
{
- struct bound_minimal_symbol msym;
-
- msym = lookup_minimal_symbol("_dl_bind", NULL, NULL);
+ bound_minimal_symbol msym = lookup_minimal_symbol ("_dl_bind", NULL, NULL);
if (msym.minsym && msym.value_address () == pc)
return frame_unwind_caller_pc (get_current_frame ());
else