diff options
author | Walfred Tedeschi <walfred.tedeschi@intel.com> | 2015-11-04 11:09:02 +0100 |
---|---|---|
committer | Walfred Tedeschi <walfred.tedeschi@intel.com> | 2015-11-04 11:09:02 +0100 |
commit | e00b3c9bc1cb8f0ce1ee39f07d7a216ab12c3064 (patch) | |
tree | 787b83fea1b2377d049b4884ba57605949287542 | |
parent | 0c532a298058669a72061ad94ba9e24170ae91ae (diff) | |
download | gdb-e00b3c9bc1cb8f0ce1ee39f07d7a216ab12c3064.zip gdb-e00b3c9bc1cb8f0ce1ee39f07d7a216ab12c3064.tar.gz gdb-e00b3c9bc1cb8f0ce1ee39f07d7a216ab12c3064.tar.bz2 |
Improve error message for MPX bound table examinations.
Error was introduced to fix a build issue caused by a mismatching variable
size. The error message is changed to explicitly report what goes wrong
and how user might still investigate the issue.
2015-06-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
* i386-tdep.c (i386_mpx_get_bt_entry) Improves error message.
Change-Id: I6e9c7475eba663f49bd8e720b84ad0265bcb0e92
Signed-off-by: Walfred Tedeschi <walfred.tedeschi@intel.com>
-rw-r--r-- | gdb/i386-tdep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index e83f49f..ebb21fc 100644 --- a/gdb/i386-tdep.c +++ b/gdb/i386-tdep.c @@ -8694,7 +8694,8 @@ i386_mpx_get_bt_entry (CORE_ADDR ptr, CORE_ADDR bd_base) bt_mask = (CORE_ADDR) MPX_BT_MASK; if ( sizeof (CORE_ADDR) == 4) - error (_("operation not supported")); + error (_("bound table examination not supported\ + for 64-bit process with 32-bit GDB")); } else { |