Power: Correct little-endian e500v2 GPR frame offsets
authorMaciej W. Rozycki <macro@codesourcery.com>
Tue, 18 Mar 2014 19:39:41 +0000 (19:39 +0000)
committerMaciej W. Rozycki <macro@codesourcery.com>
Tue, 18 Mar 2014 19:48:14 +0000 (19:48 +0000)
commitdea80df0999ae0bad56e79af2a88a30be38bb8e4
tree797d4ceb2ac94f8a3a01e3d0ee5b4a30441e8e6c
parent0c7e1a4602a41a1caf637823f67948be31d27732
Power: Correct little-endian e500v2 GPR frame offsets

This change corrects GPR frame offset calculation for the e500v2
processor.  On this target, featuring the SPE APU, GPRs are 64-bit and
are held in stack frames whole with the use of `evstdd' and `evldd'
instructions.  Their integer 32-bit part occupies the low-order word and
therefore its offset varies between the two endiannesses possible.

* rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
offset into SPE pseudo registers.
gdb/ChangeLog
gdb/rs6000-tdep.c
This page took 0.026574 seconds and 4 git commands to generate.