mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-03-05 16:09:49 +00:00
* solib.c (solib_bfd_open): Relax a bit the compatibility check.
This commit is contained in:
parent
c4e86dd4d0
commit
69e2bf1796
@ -1,3 +1,7 @@
|
||||
2009-09-22 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* solib.c (solib_bfd_open): Relax a bit the compatibility check.
|
||||
|
||||
2009-09-22 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* source.c (forget_cached_source_info): Clear last_source_visited.
|
||||
|
@ -310,7 +310,7 @@ solib_bfd_open (char *pathname)
|
||||
|
||||
/* Check bfd arch. */
|
||||
b = gdbarch_bfd_arch_info (target_gdbarch);
|
||||
if (b->compatible (b, bfd_get_arch_info (abfd)) != b)
|
||||
if (!b->compatible (b, bfd_get_arch_info (abfd)))
|
||||
warning (_("`%s': Shared library architecture %s is not compatible "
|
||||
"with target architecture %s."), found_pathname,
|
||||
bfd_get_arch_info (abfd)->printable_name, b->printable_name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user