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


> >      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);
[...]
> I will update my patch accordingly... This probably warrants a function,
> probably in gdbarch-utils.

Actually, I don't think that this will be needed. Regardless of
the order we do things, it's always going to return non-null if
both architectures are mips, which is the best we can check in
that case.

-- 
Joel


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