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]

[PATCH 0/3] Fix gdb.reverse/solib-precsave.exp fails in -mthumb


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


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