* solib.c (solib_global_lookup): Use solib_ops instead of global
current_target_so_ops.
This commit is contained in:
parent
9cceb67113
commit
e8a92f7b86
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* solib.c (solib_global_lookup): Use solib_ops instead of global
|
||||
current_target_so_ops.
|
||||
|
||||
2007-10-24 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* config/frv/frv.mt (DEPRECATED_TM_FILE): Remove.
|
||||
|
|
|
@ -985,10 +985,11 @@ solib_global_lookup (const struct objfile *objfile,
|
|||
const domain_enum domain,
|
||||
struct symtab **symtab)
|
||||
{
|
||||
if (current_target_so_ops->lookup_lib_global_symbol != NULL)
|
||||
return current_target_so_ops->lookup_lib_global_symbol (objfile,
|
||||
name, linkage_name, domain, symtab);
|
||||
struct target_so_ops *ops = solib_ops (current_gdbarch);
|
||||
|
||||
if (ops->lookup_lib_global_symbol != NULL)
|
||||
return ops->lookup_lib_global_symbol (objfile, name, linkage_name,
|
||||
domain, symtab);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue