[ping] Re: [Patch] arch recognition fix for osabi.c

Andrew Cagney ac131313@redhat.com
Fri Jul 18 14:13:00 GMT 2003


> Apparently this doesn't work for MIPS, since BFD declares different
> processors (which it calls "machines") to be incompatible.  I'm not
> quite familiar with MIPS, but I suppose this is not quite true, but
> that the various MIPS processors cannot be mapped on a one-dimensional
> quantity that expresses the features of the various CPU's.  That could
> be a valid reason why the MIPS "compatibility function" is written the
> way it is.  Perhaps it can be improved?  If so, I think that's the way
> to go.  Otherwise, I think you should register for all CPU types that
> you support.

Can, to make life less painful, a wild card (-1 safe?) be added?

Andrew




More information about the Gdb-patches mailing list