This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/8 V2] [AArch64] Support fast tracepoints
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 18 Sep 2015 13:42:56 +0100
- Subject: [PATCH 0/8 V2] [AArch64] Support fast tracepoints
- Authentication-results: sourceware.org; auth=none
- References: <1442230282-20751-1-git-send-email-pierre dot langlois at arm dot com>
Hi,
Here is the V2 of aarch64 fast tracepoint support. V1 can be found
https://sourceware.org/ml/gdb-patches/2015-09/msg00274.html
Some changes in V2:
- Implement gdb_agent_get_raw_reg for aarch64,
- Pass argument regs to gdb_agent_get_reg instead of
fast_tracepoint_ctx,
- Move gdb.trace/ftrace-insn-reloc.c and gdb.trace/ftrace-insn-reloc.exp
to gdb.arch, so that it can be reused for displaced stepping test,
- Use with_timeout_factor in gdb.trace/ftrace-lock.exp,
- Adjust one ChangeLog entry,
- Include NEWS entry in V2,
The whole series is tested on aarch64-linux with GDBserver.
*** BLURB HERE ***
Pierre Langlois (8):
Move instruction decoding into new arch/ directory
Make aarch64_decode_adrp handle both ADR and ADRP instructions
Add support for fast tracepoints
Implement target_emit_ops
Enable fast tracepoint tests
Add a gdb.trace test for instruction relocation
Add a test case for fast tracepoints' locking mechanism
Add NEWS entry for fast tracepoint support on aarch64-linux
gdb/Makefile.in | 13 +-
gdb/NEWS | 4 +
gdb/aarch64-tdep.c | 237 +--
gdb/arch/aarch64-insn.c | 237 +++
gdb/arch/aarch64-insn.h | 39 +
gdb/configure.tgt | 4 +-
gdb/gdbserver/Makefile.in | 12 +
gdb/gdbserver/configure.srv | 2 +
gdb/gdbserver/linux-aarch64-ipa.c | 151 ++
gdb/gdbserver/linux-aarch64-low.c | 2667 +++++++++++++++++++++++++-
gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp | 114 ++
gdb/testsuite/gdb.arch/insn-reloc.c | 508 +++++
gdb/testsuite/gdb.trace/change-loc.h | 2 +
gdb/testsuite/gdb.trace/ftrace-lock.c | 106 +
gdb/testsuite/gdb.trace/ftrace-lock.exp | 95 +
gdb/testsuite/gdb.trace/ftrace.c | 2 +
gdb/testsuite/gdb.trace/ftrace.exp | 2 +-
gdb/testsuite/gdb.trace/pendshr1.c | 2 +
gdb/testsuite/gdb.trace/pendshr2.c | 2 +
gdb/testsuite/gdb.trace/range-stepping.c | 2 +
gdb/testsuite/gdb.trace/trace-break.c | 4 +
gdb/testsuite/gdb.trace/trace-condition.c | 2 +
gdb/testsuite/gdb.trace/trace-condition.exp | 2 +
gdb/testsuite/gdb.trace/trace-mt.c | 2 +
24 files changed, 4005 insertions(+), 206 deletions(-)
create mode 100644 gdb/arch/aarch64-insn.c
create mode 100644 gdb/arch/aarch64-insn.h
create mode 100644 gdb/gdbserver/linux-aarch64-ipa.c
create mode 100644 gdb/testsuite/gdb.arch/ftrace-insn-reloc.exp
create mode 100644 gdb/testsuite/gdb.arch/insn-reloc.c
create mode 100644 gdb/testsuite/gdb.trace/ftrace-lock.c
create mode 100644 gdb/testsuite/gdb.trace/ftrace-lock.exp
--
1.9.1