This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Check solib bfd arch


Pedro Alves wrote:

> Could we compare the solib's target arch with
> tdesc_architecture(target_read_description()) directly --- but only
> if available ---, instead of comparing it with target_gdbarch?

Hmm, this would ignore the work done by choose_architecture_for_target.

Maybe we should compare against target_gdbarch, but only if a target
description is present?  Just wrap the whole test as-is in a 
  if (target_read_description ())
    ...

In any case, at this point the best option for 7.0 might indeed be
to just disable the test.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]