This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 244ec0da3816472b6e2c3347dae8b2d308d90f93
- From: wtedeschi at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 26 Nov 2013 08:33:38 -0000
- Subject: gdb and binutils branch master updated. 244ec0da3816472b6e2c3347dae8b2d308d90f93
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 244ec0da3816472b6e2c3347dae8b2d308d90f93 (commit)
from 88e80851c92b974a2ccccceaed931baacd647303 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=244ec0da3816472b6e2c3347dae8b2d308d90f93
commit 244ec0da3816472b6e2c3347dae8b2d308d90f93
Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Date: Tue Nov 26 08:32:16 2013 +0000
Fix PR16193 - gdbserver aborts.
The MPX patch has broken the I386_XSTATE_SIZE macro. For AVX machines,
it ends up returning I386_XSTATE_SSE_SIZE. Where it first reads
I386_XSTATE_AVX_SIZE, it should have read I386_XSTATE_AVX:
#define I386_XSTATE_SIZE(XCR0) \
(((XCR0) & I386_XSTATE_BNDCFG) != 0 ? I386_XSTATE_BNDCFG_SIZE \
: (((XCR0) & I386_XSTATE_BNDREGS) != 0 ? I386_XSTATE_BNDCFG_SIZE \
- : (((XCR0) & I386_XSTATE_AVX_SIZE) != 0 ? I386_XSTATE_AVX_SIZE \
+ : (((XCR0) & I386_XSTATE_AVX) != 0 ? I386_XSTATE_AVX_SIZE \
: I386_XSTATE_SSE_SIZE)))
The patch goes a step further and improves readability of the macro,
by adding a couple other auxiliary macros.
2013-11-26 Walfred Tedeschi <walfred.tedeschi@intel.com>
* i386-xstate.h (I386_XSTATE_MPX): New Macro.
(I386_XSTATE_MPX_MASK): Makes use of I386_XSTATE_MPX.
(HAS_MPX): New macro.
(HAS_AVX): New macro.
(I386_XSTATE_SIZE): Uses HAS_MPX and HAS_AVX.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 8 ++++++++
gdb/common/i386-xstate.h | 15 ++++++++-------
2 files changed, 16 insertions(+), 7 deletions(-)
hooks/post-receive
--
gdb and binutils