[PATCH 4/4] New gdb.reverse test case for aarch64 instructions

Pedro Alves palves@redhat.com
Thu May 21 20:22:00 GMT 2015


On 05/19/2015 02:22 PM, Yao Qi wrote:
> This patch adds a test case to test the process record for some of
> aarch64 instructions.
> 
> In each function, GDB turns on process record, and single step until
> program goes to the end of the function.  Then, single step backward.
> In each of forward single step and backward single step, the contents
> of registers are saved, and test compares them.  If there is any
> differences, a FAIL is emitted.
> 
> The test is flexible, and we can test other instructions easily in the
> future.

Nice, this looks like something we could use in other archs too.  Did you
consider putting that procedure in shared code?

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list