From: Walfred Tedeschi Date: Wed, 4 Nov 2015 10:09:02 +0000 (+0100) Subject: Improve error message for MPX bound table examinations. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e00b3c9bc1cb8f0ce1ee39f07d7a216ab12c3064;p=binutils-gdb.git 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 * i386-tdep.c (i386_mpx_get_bt_entry) Improves error message. Change-Id: I6e9c7475eba663f49bd8e720b84ad0265bcb0e92 Signed-off-by: Walfred Tedeschi --- diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c index e83f49fc337..ebb21fc49b7 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 {