public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add recording support for the ISA 3.1 Powerpc instructions
@ 2022-03-04 19:46 Carl Love
  2022-03-04 19:52 ` [PATCH 1/2] " Carl Love
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Carl Love @ 2022-03-04 19:46 UTC (permalink / raw)
  To: gdb-patches, Ulrich Weigand; +Cc: Will Schmidt, Tulio Magno, Rogerio Alves, cel

GDB maintainers:

The gdb record functionality does not have support for the the Powerpc
ISA 3.1 instructions.  

The first patch in this series will add the missing support to record
the registers for each of the ISA 3.1 instructions.

The second patch in the series adds two test cases.  The first test
case verifies the recording works for a few of the ISA 2.06
instructions.  The second case verifies recording of a few ISA 3.1
instructions.

I have used the Valgrind ISA 3.1 testsuite to verify that all of the
ISA 3.1 instructions are recognized by gdb record.  Additionally, I
manually ran gdb stoping at the Valgrind test function for each of the
new instructions.  I then verified that all of the expected registers
changed and were then restored when the instruction was executed in
reverse.  Basically, the test process consisted of stopping at the isa
instruction, issue the gdb command record command, info registers all
saving the output file 1, si,  info registers all saving the output
file 2, reverse-stepi, info registers all saving the output file 3.  I
then diffed files 1 and 2 to verify the test changed all of the
registers specified in the ISA. Finally, diff files 1 and 3 to verify
all of the registers were restored.

                        Carl Love


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

end of thread, other threads:[~2022-04-26 18:05 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-04 19:46 [PATCH 0/2] Add recording support for the ISA 3.1 Powerpc instructions Carl Love
2022-03-04 19:52 ` [PATCH 1/2] " Carl Love
2022-03-06 11:53   ` Joel Brobecker
2022-04-12 17:09     ` [PATCH 1/2 Version 2] " Carl Love
2022-04-12 21:50       ` will schmidt
2022-04-13 17:26         ` [PATCH 1/2 Version 3] " Carl Love
2022-04-17 16:23           ` Joel Brobecker
2022-04-18 19:21             ` [PATCH 1/2 Version 5] " Carl Love
2022-04-22 19:49               ` [PATCH 1/2 Version 5 Ping] " Carl Love
2022-04-24 16:50               ` [PATCH 1/2 Version 5] " Joel Brobecker
2022-04-25 15:58                 ` [PATCH 1/2 Version 6] " Carl Love
2022-04-26 18:05                   ` Joel Brobecker
2022-03-04 19:53 ` [PATCH 2/2] " Carl Love
2022-03-06 12:42   ` Joel Brobecker
2022-04-12 17:09     ` [PATCH 2/2 Version 2] " Carl Love
2022-04-13 14:12       ` will schmidt
2022-04-13 21:38         ` [PATCH 2/2 Version 3] " Carl Love
2022-04-14 13:05           ` Pedro Alves
2022-04-14 20:20             ` [PATCH 2/2 Version 4] " Carl Love
2022-04-14 20:43               ` Carl Love
2022-04-17 16:48                 ` Joel Brobecker
2022-04-18 19:21                   ` [PATCH 2/2 Version 5] " Carl Love
2022-04-22 19:47                     ` [PATCH 2/2 Version 5 PING] " Carl Love
2022-04-24 16:56                     ` [PATCH 2/2 Version 5] " Joel Brobecker
2022-04-12 17:09 ` [PATCH 0/2 Version 2] " Carl Love

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).