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 4/4] New gdb.reverse test case for aarch64 instructions


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


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