This is the mail archive of the gdb-patches@sourceware.org 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: [PATCH, e500] Fix store.exp failures


On 06/27/2013 05:29 PM, Luis Machado wrote:
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.

I checked this in now.

Thanks,
Luis


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