[rfa] Add iWMMXt DWARF support, and fixed register numbers

Daniel Jacobowitz drow@false.org
Mon Feb 26 19:19:00 GMT 2007


On Tue, Feb 13, 2007 at 11:25:40AM -0500, Daniel Jacobowitz wrote:
> This patch includes an assortment of minor improvements for iWMMXt
> support.  It relies on a clever trick that Vladimir pointed out, which
> I may have mentioned before: we can assign fixed register numbers for
> all possible target registers, and then return a name of "" and a type
> of builtin_type_int0 for any that are not currently present.  This
> makes the register numbering constant between different targets and
> simplifies writing tdep and nat files by quite a lot.
> 
> Changes:
>   - Recognize the iWMMXt feature by name, and document its contents.
>   - Associate the registers with the correct ARM-assigned DWARF
>   encodings.
>   - Do not record FPA register saves in the prologue if we do not have
>   FPA.  Similarly, do not try to print out FPA status.
>   - Reformat the register names to match those in the Intel manual.
>   Gas accepts both sets, but nothing besides GNU tools seems to use
>   the lowercase variants.
> 
> Tested on arm-linux-gnueabi with iWMMXt.  OK?

I've checked this in.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list