[PATCH, e500] Fix store.exp failures

Luis Machado lgustavo@codesourcery.com
Thu Jun 27 20:42:00 GMT 2013


On 06/27/2013 04:58 PM, Tom Tromey wrote:
>>>>>> "Luis" == Luis Machado <lgustavo@codesourcery.com> writes:
>
> Luis> In reality, GDB should return the REAL register (SPE half) instead of
> Luis> returning the PSEUDO register (full SPE register comprised of one SPE
> Luis> half and one GPR).
>
> It seems logical to me; though I know nothing about rs6000.

Thanks for taking a look.

>
> Luis> 2013-06-06  Luis Machado  <lgustavo@codesourcery.com>
> Luis> 	* rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Return the real register
> Luis> 	number instead of the pseudo register one.
>
> It seems like a similar change is needed in rs6000_stab_reg_to_regnum.

Ah, well spotted. It does need that change as well, which is addressed 
by the following updated patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e500_v2.diff
Type: text/x-patch
Size: 1053 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20130627/85ed2542/attachment.bin>


More information about the Gdb-patches mailing list