This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/4 V6] Process record and reverse debugging support on aarch64-linux
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 19 May 2015 14:22:28 +0100
- Subject: [PATCH 0/4 V6] Process record and reverse debugging support on aarch64-linux
- Authentication-results: sourceware.org; auth=none
This patch series is about adding process recording and reverse
debugging for aarch64-linux target.
This is V6, with some changes on top of V5
https://sourceware.org/ml/gdb-patches/2015-05/msg00239.html
with some changes,
- Indent the code, and fix some format issues,
- Fix one bug about handling SIMD instructions,
- Always record register CPSR [1]
- Pick up a small set of instructions from Omair's test in the my
test case,
- Complete changelog and commit log message.
There are 7 fails in gdb.reverse, shown in the commit log of patch
#3, which are not related to instruction decoding and recording for
aarch64.
[1] aarch64 doesn't have CPSR register, which only exist on ARM or
aarch32 state. In aarch64, linux kernel ptrace interface exposes
64-bit PSTATE rather than CPSR register. PSTATE may be changed
during the execution of instructions, for example, after
single step. In process record, we have to always record CPSR.
I plan to replace CPSR with PSTATE in aarch64 separately.
*** BLURB HERE ***
Omair Javaid (3):
NEWS entry about aarch64-linux record/replay support
Implements aarch64 process record and reverse debugging support
Enables gdb.reverse testsuite for aarch64*-linux targets
Yao Qi (1):
New gdb.reverse test case for aarch64 instructions
gdb/NEWS | 4 +
gdb/aarch64-linux-tdep.c | 739 ++++++++++++++++++++++++++
gdb/aarch64-tdep.c | 967 ++++++++++++++++++++++++++++++++++
gdb/aarch64-tdep.h | 6 +
gdb/configure.tgt | 2 +-
gdb/linux-record.h | 1 +
gdb/testsuite/gdb.reverse/aarch64.c | 99 ++++
gdb/testsuite/gdb.reverse/aarch64.exp | 115 ++++
gdb/testsuite/lib/gdb.exp | 2 +
9 files changed, 1934 insertions(+), 1 deletion(-)
create mode 100644 gdb/testsuite/gdb.reverse/aarch64.c
create mode 100644 gdb/testsuite/gdb.reverse/aarch64.exp
--
1.9.1