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]

[binutils-gdb] Improve error message for MPX bound table examinations.


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

commit e00b3c9bc1cb8f0ce1ee39f07d7a216ab12c3064
Author: Walfred Tedeschi <walfred.tedeschi@intel.com>
Date:   Wed Nov 4 11:09:02 2015 +0100

    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>

Diff:
---
 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
     {


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