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]

Re: [PATCH 5/7] Support for recording syscall on aarch64-linux


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.


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