This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH V4 3/8] Add MPX support for i386
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Walfred Tedeschi <walfred dot tedeschi at intel dot com>
- Cc: tromey at redhat dot com, gdb-patches at sourceware dot org, mark dot kettenis at xs4all dot nl
- Date: Thu, 05 Sep 2013 12:40:08 +0300
- Subject: Re: [PATCH V4 3/8] Add MPX support for i386
- Authentication-results: sourceware.org; auth=none
- References: <1378373188-31144-1-git-send-email-walfred dot tedeschi at intel dot com> <1378373188-31144-4-git-send-email-walfred dot tedeschi at intel dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Walfred Tedeschi <walfred.tedeschi@intel.com>
> Cc: Walfred Tedeschi <walfred.tedeschi@intel.com>
> Date: Thu, 5 Sep 2013 11:26:23 +0200
>
> --- a/gdb/i386-linux-tdep.h
> +++ b/gdb/i386-linux-tdep.h
> @@ -29,10 +29,10 @@
> /* Register number for the "orig_eax" pseudo-register. If this
> pseudo-register contains a value >= 0 it is interpreted as the
> system call number that the kernel is supposed to restart. */
> -#define I386_LINUX_ORIG_EAX_REGNUM I386_AVX_NUM_REGS
> +#define I386_LINUX_ORIG_EAX_REGNUM I386_BNDSTATUS_REGNUN + 1
"REGNUN"? Didn't you mean "REGNUM"?