public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* PowerPC, Fix-test-gdb.base-store.exp
@ 2023-10-12 14:51 Carl Love
  2023-10-12 14:58 ` [Patch 1/2] " Carl Love
  2023-10-12 15:00 ` [PATCH 2/2] " Carl Love
  0 siblings, 2 replies; 27+ messages in thread
From: Carl Love @ 2023-10-12 14:51 UTC (permalink / raw)
  To: gdb-patches, UlrichWeigand; +Cc: cel

GDB maintainers:

The gdb.base/store.exp test has five failures on PowerPC.  Part of the
issue is the PowerPC DWARF mapping is not correct on Linux.  The first
patch in this series fixes the PowerPC DWARF mapping.  Once the mapping
was fixed another issue was found with how the signal handlers were
handled on PowerPC.  The issue is on PowerPC the sequence of events for
handling signals is a little different on PowerPC from most other
architectures. 

The first patch fixes the PowerPC DWARF register mapping and the signal
handling issue on PowerPC.  These changes fix three of the five
failures on the store.exp test.

The second patch fixes the remaining issue for the store.exp test.  The
remaining issues are due to handling the 128-bit floating point values.
The 64-bit floating point values are stored in the floating point
registers while the 128-bit floating point values are stored in a VSR. 
The DWARF uses the floating point register numbers for both the 64-bit
and 128-bit floating point values.  The second patch adds a routine to
check if a value is a 128-bit floating point value, if so it then
adjusts the register mapping to point to the VSR registers instead of
the 64-bit floating point registers.

The series of two patches have been tested on PowerPC LE and BE.  The
patches have also been tested on Intel X86-64.  No regression failures
was found.

Please let me know if these patches are acceptable for mainline. 
Thanks.

                             Carl 



^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2023-11-08 10:54 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-12 14:51 PowerPC, Fix-test-gdb.base-store.exp Carl Love
2023-10-12 14:58 ` [Patch 1/2] " Carl Love
2023-10-13 20:34   ` Keith Seitz
2023-10-13 21:00     ` Carl Love
2023-10-16 11:12       ` Ulrich Weigand
2023-10-16 14:31   ` Andrew Burgess
2023-10-16 15:51     ` Carl Love
2023-10-19 15:54       ` Carl Love
2023-10-24  8:50       ` Andrew Burgess
2023-10-24 16:05         ` Carl Love
2023-10-20 18:08     ` [PATCH 1/2, ver2] " Carl Love
2023-10-24  9:30       ` Andrew Burgess
2023-10-25 13:24         ` Ulrich Weigand
2023-10-30  9:45           ` Andrew Burgess
2023-10-30 16:44             ` Ulrich Weigand
2023-10-30 17:16               ` Carl Love
2023-10-30 17:25               ` [PATCH 1/2, ver3] " Carl Love
2023-11-06 18:24                 ` Carl Love
2023-11-08 10:54                 ` Andrew Burgess
2023-10-12 15:00 ` [PATCH 2/2] " Carl Love
2023-10-13 20:35   ` Keith Seitz
2023-10-13 21:00     ` Carl Love
2023-10-16 11:13       ` Ulrich Weigand
2023-10-16 14:36   ` Andrew Burgess
2023-10-16 15:51     ` Carl Love
2023-10-20 18:08     ` Carl Love
2023-10-24  8:53       ` Andrew Burgess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).