This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/3] Fix gdb.reverse/solib-precsave.exp fails in -mthumb
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 3 Mar 2017 22:06:33 +0000
- Subject: [PATCH 0/3] Fix gdb.reverse/solib-precsave.exp fails in -mthumb
- Authentication-results: sourceware.org; auth=none
This patch set fixes these fails below when test case is compiled with
-mthumb.
FAIL: gdb.reverse/solib-precsave.exp: run until end part one
FAIL: gdb.reverse/solib-precsave.exp: reverse-step third shr1
FAIL: gdb.reverse/solib-precsave.exp: reverse-step second shr1
FAIL: gdb.reverse/solib-precsave.exp: reverse-step first shr1
FAIL: gdb.reverse/solib-precsave.exp: reverse-step generic
These fails are caused by incorrect instruction handling in process
record. Patch 2 and 3 fixes them. I also add some unit tests to
arm process recording. In order to unit tests, I changed arm process
record to get instructions from class instruction_reader, so that we
can provide the instructions we want in unit tests.
With these patches applied, all these fails above are fixed. Regression
tested (only gdb.reverse) in arm-linux.
*** BLURB HERE ***
Yao Qi (3):
Add instruction_reader to arm process record
Fix arm process record for some instructions
Support CBNZ, CBZ, REV, REV16 and REVSH in arm process record
gdb/arm-tdep.c | 351 +++++++++++++++++++++++++++++++++++++++++++--------------
1 file changed, 265 insertions(+), 86 deletions(-)
--
1.9.1