This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 5/7] Support for recording syscall on aarch64-linux
- From: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>
- To: Omair Javaid <omair dot javaid at linaro dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 06 Jun 2014 17:58:08 +0200
- Subject: Re: [PATCH 5/7] Support for recording syscall on aarch64-linux
- Authentication-results: sourceware.org; auth=none
- References: <1401898871-2270-1-git-send-email-omair dot javaid at linaro dot org> <1401898871-2270-6-git-send-email-omair dot javaid at linaro dot org>
On Wed, Jun 04 2014, Omair Javaid wrote:
> This patch adds support for recording system call instruction on aarch64-linux
> targets.
>
> [...]
> @@ -471,6 +1237,164 @@ aarch64_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
> [...]
> +
> + aarch64_linux_record_tdep.arg1 = AARCH64_X0_REGNUM + 1;
> + aarch64_linux_record_tdep.arg2 = AARCH64_X0_REGNUM + 2;
> + aarch64_linux_record_tdep.arg3 = AARCH64_X0_REGNUM + 3;
> + aarch64_linux_record_tdep.arg4 = AARCH64_X0_REGNUM + 3;
Is this a typo? Otherwise the reason for this specialty should be
documented in a comment here, IMO.