[ppc64le] Use skip_entrypoint for skip_trampoline_code
[deliverable/binutils-gdb.git] / gdb / solib.c
index d2ea90149b00b43f8aa8854b6abe36f5c31df6d6..c46116d4fbcdb162c187fdfa07b3fbc2ef2cf9ee 100644 (file)
@@ -1516,7 +1516,7 @@ solib_global_lookup (struct objfile *objfile,
                     const char *name,
                     const domain_enum domain)
 {
-  const struct target_so_ops *ops = solib_ops (get_objfile_arch (objfile));
+  const struct target_so_ops *ops = solib_ops (target_gdbarch ());
 
   if (ops->lookup_lib_global_symbol != NULL)
     return ops->lookup_lib_global_symbol (objfile, name, domain);
This page took 0.024295 seconds and 4 git commands to generate.