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


Any thoughts in general?

On 06/06/2013 02:03 PM, Luis Machado wrote:
Hi,

I'm seeing a few failures for e500 in store.exp. It fails to display
multi-piece values correctly if one (or more) of those pieces happens to
live in one of the SPE register halves.

When DWARF asks for information about the SPE register half, GDB in turn
offers information about the whole SPE register, which is 4 bytes longer
in size. DWARF will then proceed to grab a piece of those 8 bytes and,
obviously, will end up fetching the wrong half.

In reality, GDB should return the REAL register (SPE half) instead of
returning the PSEUDO register (full SPE register comprised of one SPE
half and one GPR).

This on-liner fixes this problem and gives full passes for store.exp on
e500.

OK?

Luis


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