This is the mail archive of the gdb-patches@sources.redhat.com 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: SIM: Handle XScale COFF binaries


> Hi Guys,
> 
>   I have checked in the following patch.  It fixes the ARM simulator
>   so that COFF based XScale binaries will be correctly simulated.  The
>   problem was that the COFF header did not have enough bits to
>   distinguish between the v5, v5T, v5TE and XScale architectures, and
>   so it was defaulting to v5, disabling the simulation of the XScale
>   instructions.
> 
> Cheers
>         Nick
> 
> 2002-02-04  Nick Clifton  <nickc@cambridge.redhat.com>
> 
> 	* wrapper.c: If a v5 architecture is detected, assume it might be
> 	an XScale binary, since there is no way to distinguish between
> 	the two in the COFF file format.

UG.

Can't we restrict this so that it only happens if we have COFF files (as 
it stands ELF files will do the same as well).

R.


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