diff options
Diffstat (limited to 'gdb/sol2-tdep.c')
-rw-r--r-- | gdb/sol2-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sol2-tdep.c b/gdb/sol2-tdep.c index 27108a5..a4efd42 100644 --- a/gdb/sol2-tdep.c +++ b/gdb/sol2-tdep.c @@ -27,10 +27,10 @@ CORE_ADDR sol2_skip_solib_resolver (struct gdbarch *gdbarch, CORE_ADDR pc) { - struct minimal_symbol *msym; + struct bound_minimal_symbol msym; msym = lookup_minimal_symbol("elf_bndr", 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 ()); return 0; |