Add pretty-printer for MPX bnd registers.
authorWalfred Tedeschi <walfred.tedeschi@intel.com>
Wed, 20 Nov 2013 12:03:07 +0000 (13:03 +0100)
committerWalfred Tedeschi <walfred.tedeschi@intel.com>
Wed, 20 Nov 2013 13:42:53 +0000 (14:42 +0100)
commit09748966c1b65c953971f8e56d7f6113cfbfda95
treead7a47294036ddd19b1af0b42d6e83bfcc272d79
parenta196ebeb91d1149b1615faaeafc31d72a28ba98e
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
gdb/ChangeLog
gdb/data-directory/Makefile.in
gdb/python/lib/gdb/command/bound_registers.py [new file with mode: 0644]
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-pp-maint.exp