diff options
Diffstat (limited to 'gdb/glibc-tdep.c')
-rw-r--r-- | gdb/glibc-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/glibc-tdep.c b/gdb/glibc-tdep.c index 4dd2415..99b504f 100644 --- a/gdb/glibc-tdep.c +++ b/gdb/glibc-tdep.c @@ -59,14 +59,14 @@ glibc_skip_solib_resolver (struct gdbarch *gdbarch, CORE_ADDR pc) if (resolver.minsym) { /* The dynamic linker began using this name in early 2005. */ - struct minimal_symbol *fixup + struct bound_minimal_symbol fixup = lookup_minimal_symbol ("_dl_fixup", NULL, resolver.objfile); /* This is the name used in older versions. */ - if (! fixup) + if (! fixup.minsym) fixup = lookup_minimal_symbol ("fixup", NULL, resolver.objfile); - if (fixup && MSYMBOL_VALUE_ADDRESS (fixup) == pc) + if (fixup.minsym && MSYMBOL_VALUE_ADDRESS (fixup.minsym) == pc) return frame_unwind_caller_pc (get_current_frame ()); } |