[RFA] Check solib bfd arch
Pedro Alves
pedro@codesourcery.com
Fri Sep 18 16:45:00 GMT 2009
On Friday 18 September 2009 17:41:43, Pedro Alves wrote:
> I think that's the same in practice as Joel's original
> patch then, since `compatible' either returns either
> NULL, a or b. This still catches the
> obviously-incompatible cases, so may be worth keeping,
> while anything smarter is probably not worth the effort
> then.
>
Grrrr...
Some targets (e.g. MIPS as of 2006-12-04) don't fully
implement this, instead always returning NULL or the first
argument. We detect that case by checking both directions. */
compat1 = selected->compatible (selected, from_target);
compat2 = from_target->compatible (from_target, selected);
--
Pedro Alves
More information about the Gdb-patches
mailing list