This is the mail archive of the gdb-cvs@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]

gdb and binutils branch master updated. 60650f2e2f40dc992f12647ee001ef87eae13f2e


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  60650f2e2f40dc992f12647ee001ef87eae13f2e (commit)
       via  09748966c1b65c953971f8e56d7f6113cfbfda95 (commit)
       via  a196ebeb91d1149b1615faaeafc31d72a28ba98e (commit)
       via  e43e105e0d3a6cf324b19adc10d4952b553f43ee (commit)
       via  1dbcd68cf12168c359df2da36b5b612100310a30 (commit)
       via  ccc42043f7a34784560e08553bbf51ce3044785e (commit)
       via  57803a3c60f399772907ac306f6eefd9fc83fb15 (commit)
      from  87b8eed7fb7040a67d3f7317258795bdd258612b (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=60650f2e2f40dc992f12647ee001ef87eae13f2e

commit 60650f2e2f40dc992f12647ee001ef87eae13f2e
Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Date:   Thu Sep 5 09:09:23 2013 +0000

    Add MPX registers tests.
    
    2013-11-20  Walfred Tedeschi  <walfred.tedeschi@intel.com>
    
    	* common/i386-gcc-cpuid.h (bit_MPX): Synchronize with gcc file.
    testsuite/
    	* gdb.arch/i386-mpx.c: New file
    	* gdb.arch/i386-mpx.exp: New file.
    
    Change-Id: Ica4c9ee823c8210ca876e31f27dcd8583b660a9f
    Signed-off-by: Walfred Tedeschi <walfred.tedeschi@intel.com>

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=09748966c1b65c953971f8e56d7f6113cfbfda95

commit 09748966c1b65c953971f8e56d7f6113cfbfda95
Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Date:   Wed Nov 20 13:03:07 2013 +0100

    Add pretty-printer for MPX bnd registers.
    
    Boundary length is simpler implemented by means of a pretty
    printer. This simplifies users life when examining a bound register.
    
    Changelog:
    2013-11-20  Walfred Tedeschi  <walfred.tedeschi@intel.com>
    
    	* python/lib/gdb/command/bound_register.py: New file.
    	* gdb/data-directory/Makefile.in: copy bond_register.py to the right path to
    	be initialized at gdb startup.
    testsuite/
    	* gdb.python/py-pp-maint.exp: Consider new pretty-print added for registers.
    
    Change-Id: Id4f39845e5ece56c370a1fd4343648909f08b731
    Signed-off-by: Walfred Tedeschi <walfred.tedeschi@intel.com>
    
    Conflicts:
    
    	gdb/ChangeLog

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a196ebeb91d1149b1615faaeafc31d72a28ba98e

commit a196ebeb91d1149b1615faaeafc31d72a28ba98e
Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Date:   Thu Oct 10 07:12:49 2013 +0000

    Add MPX support to gdbserver.
    
    2013-05-22  Walfred Tedeschi  <walfred.tedeschi@intel.com>
    
    gdbserver/
    	* Makefile.in: Add i386-mpx.c, i386-mpx-linux.c, amd64-mpx.c,
    	amd64-mpx-linux.c, x32-mpx.c and x32-mpx-linux.c generation.
    
    	* configure.srv (srv_i386_regobj): Add i386-mpx.o.
    	(srv_i386_linux_regobj): Add i386-mpx-linux.o.
    	(srv_amd64_regobj): Add amd64-mpx.o.
    	(srv_amd64_linux_regobj): Add amd64-mpx-linux.o.
    	(srv_i386_32bit_xmlfiles): Add i386/32bit-mpx.xml.
    	(srv_i386_64bit_xmlfiles): Add i386/64bit-mpx.xml.
    
    	* i387-fp.c (num_pl_bnd_register) Added constant.
    	(num_pl_bnd_cfg_registers) Added constant.
    	(struct i387_xsave) Added reserved area and MPX fields.
    	(i387_cache_to_xsave, i387_xsave_to_cache) Add MPX.
    
    	* linux-x86-low.c (init_registers_i386_mpx_linux): Declare new
    	function.
    	(tdesc_i386_mpx_linux): Add MPX amd64 target.
    	(init_registers_amd64_mpx_linux): Declare new function.
    	(tdesc_amd64_mpx_linux): Add MPX amd64 target.
    	(x86_64_regmap): Add MPX registers.
    	(x86_linux_read_description): Add MPX case.
    	(initialize_low_arch): Initialize MPX targets.
    
    Change-Id: I394d81afa76d11375ce792cefad0ceb9825fb379
    Signed-off-by: Walfred Tedeschi <walfred.tedeschi@intel.com>

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e43e105e0d3a6cf324b19adc10d4952b553f43ee

commit e43e105e0d3a6cf324b19adc10d4952b553f43ee
Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Date:   Wed Nov 20 13:02:37 2013 +0100

    MPX for amd64
    
    2013-06-24  Walfred Tedeschi  <walfred.tedeschi@intel.com>
    
    	* amd64-linux-nat.c (amd64_linux_gregset32_reg_offset):
    	Add MPX registers.
    	(amd64_linux_read_description): Add initialization for MPX and
    	AVX independently.
    	* amd64-linux-tdep.c: Includes features/i386/amd64-mpx-linux.c.
    	(amd64_linux_gregset_reg_offset): Add MPX registers.
    	(amd64_linux_core_read_description): Add initialization for MPX
    	registers.
    	(_initialize_amd64_linux_tdep): Initialize MPX targets.
    	* amd64-linux-tdep.h (AMD64_LINUX_RAX_REGNUM): Set it to the last
    	register on the list.
    	(tdesc_amd64_mpx_linux) Add new target	for MPX.
    	* amd64-tdep.c: Includes features/i386/amd64-mpx.c.
    	(amd64_mpx_names): MPX register names.
    	(amd64_init_abi): Add MPX register while initializing the ABI.
    	(_initialize_amd64_tdep): Initialize MPX targets.
    	* amd64-tdep.h (amd64_regnum): Add MPX registers.
    	(AMD64_NUM_REGS): Set number of registers taking MPX into account.
    
    Change-Id: I4a785c181e2fb45e4086650b2f87426caeb2f800
    Signed-off-by: Walfred Tedeschi <walfred.tedeschi@intel.com>
    
    Conflicts:
    
    	gdb/ChangeLog

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1dbcd68cf12168c359df2da36b5b612100310a30

commit 1dbcd68cf12168c359df2da36b5b612100310a30
Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Date:   Wed Nov 20 13:02:00 2013 +0100

    Add MPX support for i386
    
    2013-11-20  Walfred Tedeschi  <walfred.tedeschi@intel.com>
    
    	* i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Add MPX
    	registers on the range of registers to be read from
    	xsave buffer.
    	(i386_linux_read_description): Add case for MPX.
    	* i386-linux-tdep.c: Include features/i386/i386-mpx-linux.c.
    	(i386_linux_gregset_reg_offset): Add MPX registers.
    	(i386_linux_core_read_description): Initialize also MPX.
    	(_initialize_i386_linux_tdep): Add mpx initialization.
    	* i386-tdep.h (gdbarch_tdep): Add fields bnd0r_regnum, bnd0_regnum,
    	mpx_register_names.
    	(i386_regnum): Add MPX registers.
    	(I386_MPX_NUM_REGS): New macro.
    	(i386_bnd_regnum_p): New function.
    	* i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set
    	number of registers to be the number of BNDSTATUS.
    	(tdesc_i386_mpx_linux): Add description for MPX Linux registers.
    	* i386-tdep.c: Include features/i386/i386-mpx.c.
    	(i386_mpx_names): Add MPX register names array.
    	(i386_bnd_names): Add bnd pseudo register names array.
    	(i386_bndr_regnum_p): Lookup register numbers for bnd raw
    	registers.
    	(i386_bndr_regnum_p): Lookup register numbers for bnd raw registers.
    	(386_mpx_ctrl_regnum_p): Lookup register numbers for MPX control
    	registers.
    	(i386_bnd_type): New function.
    	(i386_pseudo_register_type): Use i386_bnd_type for bnd pseudo
    	register types.
    	(i386_pseudo_register_read_into_value): Add bnd case.
    	(i386_pseudo_register_write): Add bnd pseudo registers.
    	(i386_register_reggroup_p): Add MPX register to the group all.
    	(i386_validate_tdesc_p): Add MPX to the target 	description
    	validation.
    	(i386_pseudo_register_name): Add bnd pseudo registers.
    	(i386_gdbarch_init): Add MPX for architecture initialization.
    	(_initia_initialize_i386_tdep): Add mpx initialization.
    	* i387-tdep.c (xsave_mpx_offset): New vector for MPX offsets on
    	XSAVE buffer.
    	(XSAVE_MPX_ADDR): New macro.
    	(i387_supply_xsave): Add MPX case.
    	(i387_collect_xsave): Add MPX case.
    	* i387-tdep.h (I387_BND0R_REGNUM): New macro.
    	(I387_BNDCFGU_REGNUM): New macro.
    	(I387_NUM_MPX_REGS): New macro.
    	(I387_NUM_BND_REGS): New macro.
    	(I387_NUM_MPX_CTRL_REGS): New macro.
    	(I387_MPXEND_REGNUM): New macro.
    	* common/i386-xstate.h (I386_XSTATE_BNDREGS): New macro.
    	(I386_XSTATE_BNDCFG): Likewise.
    	(I386_XSTATE_MPX_MASK): Likewise.
    	(I386_XSTATE_ALL_MASK): New macro represents flags for all states.
    	(I386_XSTATE_BNDREGS_SIZE): New macro.
    	(I386_XSTATE_BNDCFG_SIZE): Likewise.
    	(I386_XSTATE_SIZE): Adapt for MPX.
    	(I386_XSTATE_MAX_SIZE): Likewise.
    
    Change-Id: I9ddb7d49434d86fa18eb6b99515203d7c567aefd
    Signed-off-by: Walfred Tedeschi <walfred.tedeschi@intel.com>
    
    Conflicts:
    
    	gdb/ChangeLog

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ccc42043f7a34784560e08553bbf51ce3044785e

commit ccc42043f7a34784560e08553bbf51ce3044785e
Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Date:   Wed Nov 20 13:01:09 2013 +0100

    Add MPX registers XML files.
    
    2013-11-20  Walfred Tedeschi  <walfred.tedeschi@intel.com>
    
    	* features/i386/Makefile: Adapts for using MPX registers.
    	* features/i386/32bit-mpx.xml: New file.
    	* features/i386/64bit-mpx.xml: Likewise.
    	* features/i386/amd64-mpx-linux.c: Likewise.
    	* features/i386/amd64-mpx-linux.xml: Likewise.
    	* features/i386/amd64-mpx.c: Likewise.
    	* features/i386/amd64-mpx.xml: Likewise.
    	* features/i386/i386-mpx-linux.c: Likewise.
    	* features/i386/i386-mpx-linux.xml: Likewise.
    	* features/i386/i386-mpx.c: Likewise.
    	* features/i386/i386-mpx.xml: Likewise.
    	* regformats/i386/amd64-mpx-linux.dat: New file.
    	* regformats/i386/amd64-mpx.dat: Likewise.
    	* regformats/i386/i386-mpx-linux.dat: Likewise.
     	* regformats/i386/i386-mpx.dat: Likewise.

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=57803a3c60f399772907ac306f6eefd9fc83fb15

commit 57803a3c60f399772907ac306f6eefd9fc83fb15
Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Date:   Tue Nov 19 12:19:30 2013 +0000

    Fix conditions in creating a bitfield.
    
    Bitfields are represented by intervals [start, begin]. It means that for an
    interval comprised by only one  bit start and end will be equal.
    The present condition does not always hold. On the other hand in target-description.c
    (tdesc_gdb_type) bitfield is created when "f->type" is null. The routine
    maint_print_maint_print_c_tdesc_cmd is modified to follow the same strategy.
    
    2013-11-20  Walfred Tedeschi  <walfred.tedeschi@intel.com>
    
    	* target-descriptions.c (maint_print_maint_print_c_tdesc_cmd):
    	Modified logic of creating a bitfield to be in sync with
    	tdesc_gdb_type.
    
    testsuite/
    	* gdb.xml/maint_print_struct.xml (bitfield): Added bitfield having
    	start and end equal 0.
    
    Change-Id: I8c62db049995f0c0c30606d9696b86afe237cbb9

-----------------------------------------------------------------------

Summary of changes:
 gdb/ChangeLog                                 |  112 +++++++++++++
 gdb/amd64-linux-nat.c                         |   43 ++++-
 gdb/amd64-linux-tdep.c                        |   12 ++-
 gdb/amd64-linux-tdep.h                        |    3 +-
 gdb/amd64-tdep.c                              |   14 ++
 gdb/amd64-tdep.h                              |    8 +-
 gdb/common/i386-gcc-cpuid.h                   |    8 +-
 gdb/common/i386-xstate.h                      |   20 ++-
 gdb/data-directory/Makefile.in                |    1 +
 gdb/features/Makefile                         |   14 ++
 gdb/features/i386/32bit-mpx.xml               |   43 +++++
 gdb/features/i386/64bit-mpx.xml               |   43 +++++
 gdb/features/i386/amd64-mpx-linux.c           |  211 ++++++++++++++++++++++++
 gdb/features/i386/amd64-mpx-linux.xml         |   19 ++
 gdb/features/i386/amd64-mpx.c                 |  206 +++++++++++++++++++++++
 gdb/features/i386/amd64-mpx.xml               |   17 ++
 gdb/features/i386/i386-mpx-linux.c            |  187 +++++++++++++++++++++
 gdb/features/i386/i386-mpx-linux.xml          |   19 ++
 gdb/features/i386/i386-mpx.c                  |  182 ++++++++++++++++++++
 gdb/features/i386/i386-mpx.xml                |   17 ++
 gdb/gdbserver/ChangeLog                       |   23 +++
 gdb/gdbserver/Makefile.in                     |   10 +
 gdb/gdbserver/configure.srv                   |   20 +-
 gdb/gdbserver/i387-fp.c                       |   90 ++++++++++
 gdb/gdbserver/linux-x86-low.c                 |   80 +++++++--
 gdb/i386-linux-nat.c                          |   17 ++-
 gdb/i386-linux-tdep.c                         |    9 +-
 gdb/i386-linux-tdep.h                         |    4 +-
 gdb/i386-tdep.c                               |  219 ++++++++++++++++++++++++-
 gdb/i386-tdep.h                               |   24 +++-
 gdb/i387-tdep.c                               |  130 ++++++++++++++-
 gdb/i387-tdep.h                               |    9 +
 gdb/python/lib/gdb/command/bound_registers.py |   45 +++++
 gdb/regformats/i386/amd64-mpx-linux.dat       |   84 ++++++++++
 gdb/regformats/i386/amd64-mpx.dat             |   83 ++++++++++
 gdb/regformats/i386/i386-mpx-linux.dat        |   60 +++++++
 gdb/regformats/i386/i386-mpx.dat              |   59 +++++++
 gdb/target-descriptions.c                     |    2 +-
 gdb/testsuite/ChangeLog                       |   15 ++
 gdb/testsuite/gdb.arch/i386-mpx.c             |   92 +++++++++++
 gdb/testsuite/gdb.arch/i386-mpx.exp           |  142 ++++++++++++++++
 gdb/testsuite/gdb.python/py-pp-maint.exp      |    8 +-
 gdb/testsuite/gdb.xml/maint_print_struct.xml  |    1 +
 43 files changed, 2337 insertions(+), 68 deletions(-)
 create mode 100644 gdb/features/i386/32bit-mpx.xml
 create mode 100644 gdb/features/i386/64bit-mpx.xml
 create mode 100644 gdb/features/i386/amd64-mpx-linux.c
 create mode 100644 gdb/features/i386/amd64-mpx-linux.xml
 create mode 100644 gdb/features/i386/amd64-mpx.c
 create mode 100644 gdb/features/i386/amd64-mpx.xml
 create mode 100644 gdb/features/i386/i386-mpx-linux.c
 create mode 100644 gdb/features/i386/i386-mpx-linux.xml
 create mode 100644 gdb/features/i386/i386-mpx.c
 create mode 100644 gdb/features/i386/i386-mpx.xml
 create mode 100644 gdb/python/lib/gdb/command/bound_registers.py
 create mode 100644 gdb/regformats/i386/amd64-mpx-linux.dat
 create mode 100644 gdb/regformats/i386/amd64-mpx.dat
 create mode 100644 gdb/regformats/i386/i386-mpx-linux.dat
 create mode 100644 gdb/regformats/i386/i386-mpx.dat
 create mode 100644 gdb/testsuite/gdb.arch/i386-mpx.c
 create mode 100644 gdb/testsuite/gdb.arch/i386-mpx.exp


hooks/post-receive
-- 
gdb and binutils


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