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/2][GDBServer][AArch64] Enable support for Z0 packets


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


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