/* Target-dependent code for the GNU C Library (glibc).
- Copyright (C) 2002-2014 Free Software Foundation, Inc.
+ Copyright (C) 2002-2019 Free Software Foundation, Inc.
This file is part of GDB.
debugging programs that use shared libraries. */
struct bound_minimal_symbol resolver
- = lookup_minimal_symbol_and_objfile ("_dl_runtime_resolve");
+ = lookup_bound_minimal_symbol ("_dl_runtime_resolve");
if (resolver.minsym)
{
if (! fixup.minsym)
fixup = lookup_minimal_symbol ("fixup", NULL, resolver.objfile);
- if (fixup.minsym && MSYMBOL_VALUE_ADDRESS (fixup.minsym) == pc)
+ if (fixup.minsym && BMSYMBOL_VALUE_ADDRESS (fixup) == pc)
return frame_unwind_caller_pc (get_current_frame ());
}