This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Support Z0 packet in AArch64 multi-arch debugging
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>, gdb-patches at sourceware dot org
- Date: Fri, 04 Dec 2015 14:54:14 +0000
- Subject: Re: [PATCH] Support Z0 packet in AArch64 multi-arch debugging
- Authentication-results: sourceware.org; auth=none
- References: <1449219564-12238-1-git-send-email-yao dot qi at linaro dot org>
On 12/04/2015 08:59 AM, Yao Qi wrote:
> In commit 6085d6f6, Z0 packet is disabled in aarch64 GDBserver if
> the inferior is 32-bit or there may be multiple inferiors, because
> Z0 packet isn't supported for arm then. Recently, Z0 packet
> is supported in arm target, so we don't have such limitation in
> aarch64 GDBserver, that is to say, aarch64 GDBserver can use Z0
> packet in multi-arch/multi-inferior debugging when the inferior's
> arch is arm.
>
> Part of this patch is to revert 6085d6f6, and the rest of the patch
> is to move some breakpoint related arm_* functions into
> linux-aarch32-low.c in order to share them between arm and aarch64.
>
> This patch is regression tested on aarch64-linux for debugging both
> aarch64 programs and arm programs respectively.
Great, thanks for doing this. LGTM.
Thanks,
Pedro Alves