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.