New gdb.reverse test case for aarch64 instructions
authorYao Qi <yao.qi@linaro.org>
Tue, 19 May 2015 10:34:36 +0000 (11:34 +0100)
committerYao Qi <yao.qi@linaro.org>
Tue, 26 May 2015 11:42:21 +0000 (12:42 +0100)
commitf6bb7db35da7b1d150a467f97c41d5bf72c3baf5
tree2f00d8619b71dff95a38823962724ab948f9f482
parenta81bfbd06b949518055b21d19f47332edbd992e0
New gdb.reverse test case for aarch64 instructions

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.

gdb/testsuite:

2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
    Yao Qi  <yao.qi@linaro.org>

* gdb.reverse/aarch64.c: New.
* gdb.reverse/aarch64.exp: New.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.reverse/aarch64.c [new file with mode: 0644]
gdb/testsuite/gdb.reverse/aarch64.exp [new file with mode: 0644]
This page took 0.026429 seconds and 4 git commands to generate.