This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/2][GDBServer][AArch64] Enable support for Z0 packets
- From: Pierre Langlois <pierre dot langlois at arm dot com>
- To: gdb-patches at sourceware dot org
- Cc: Pierre Langlois <pierre dot langlois at arm dot com>
- Date: Fri, 26 Jun 2015 14:42:06 +0100
- Subject: [PATCH 0/2][GDBServer][AArch64] Enable support for Z0 packets
- Authentication-results: sourceware.org; auth=none
Hi all,
This series of patches lets GDBServer handle software breakpoints for the
AArch64 target. The main reason for doing this is that it will allow us to
enable support for tracepoints later.
Simply enabling support for the Z0 packet uncovered an issue which is what the
first patch addresses: We need GDB and GDBServer using the same breakpoint
instruction. The second patch finally enables Z0 packets.
I ran the regression tests in a remote configuration on aarch64 which
activated the following previously unsupported test:
- PASS: gdb.base/dprintf.exp: 1st dprintf, agent
- PASS: gdb.base/dprintf.exp: 2nd dprintf, agent
- PASS: gdb.base/dprintf.exp: dprintf info 2
- PASS: gdb.mi/mi-dprintf.exp: mi expect stop
- PASS: gdb.mi/mi-dprintf.exp: mi 1st dprintf, agent
- PASS: gdb.mi/mi-dprintf.exp: mi info dprintf second time
- PASS: gdb.mi/mi-dprintf.exp: mi 2nd dprintf, agent
Thanks,
Pierre
Pierre Langlois (2):
[GDBServer][AArch64] Use the same break instruction as GDB
[GDBServer][AArch64] Enable support for Z0 packets
gdb/gdbserver/ChangeLog | 12 ++++++++++++
gdb/gdbserver/linux-aarch64-low.c | 16 +++++++++-------
2 files changed, 21 insertions(+), 7 deletions(-)
--
2.1.0