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

Pedro Alves
2015-05-21T20:22:28Z

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