[PATCH 0/2][GDBServer][AArch64] Enable support for Z0 packets

Pierre Langlois pierre.langlois@arm.com
Fri Jun 26 13:42:00 GMT 2015


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



More information about the Gdb-patches mailing list