This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [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" <gdb-patches at sourceware dot org>
- Cc: Yao Qi <qiyaoltc at gmail dot com>
- Date: Mon, 29 Jun 2015 10:40:54 +0100
- Subject: Re: [PATCH 0/2][GDBServer][AArch64] Enable support for Z0 packets
- Authentication-results: sourceware.org; auth=none
- References: <1435326128-13705-1-git-send-email-pierre dot langlois at arm dot com>
On 26/06/15 14:42, Pierre Langlois wrote:
> 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(-)
>
I've pushed these patches.