Revert: solib_global_lookup: Fetch arch from objfile.
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 28 Aug 2015 17:04:56 +0000 (19:04 +0200)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Fri, 28 Aug 2015 17:04:56 +0000 (19:04 +0200)
commit6f05925675b90983271289b782432b6297d26741
tree6cf59e290aa819204bdc955e210fc6be18eb7939
parent70987a9256a298e7ddc5d42e6580f7aba6f36f01
Revert: solib_global_lookup: Fetch arch from objfile.

solib_ops are installed as a property of the inferior gdbarch,
so they need to be systematically looked up via that architecture,
not some objfile architecture.

ChangeLog:

Revert:
2014-11-06  Doug Evans  <xdje42@gmail.com>
        * solib.c (solib_global_lookup): Fetch arch from objfile,
        not target_gdbarch.
gdb/ChangeLog
gdb/solib.c