From e00b3c9bc1cb8f0ce1ee39f07d7a216ab12c3064 Mon Sep 17 00:00:00 2001 From: Walfred Tedeschi Date: Wed, 4 Nov 2015 11:09:02 +0100 Subject: 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 --- gdb/i386-tdep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 { -- cgit v1.1