PATCH: Check byte/word registers on x86_64

H.J. Lu hjl.tools@gmail.com
Thu Oct 11 15:27:00 GMT 2012


Hi,

We support byte/word pseudo registers on x86_64.  Tested on
Linux/{ia32,x32,x86-64}.  OK to install?

Thanks.


H.J.
--
2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>

	* gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
	* gdb.arch/i386-word.exp: Likewise.

diff --git a/gdb/testsuite/gdb.arch/i386-byte.exp b/gdb/testsuite/gdb.arch/i386-byte.exp
index 38e8c4d8..d34941e 100644
--- a/gdb/testsuite/gdb.arch/i386-byte.exp
+++ b/gdb/testsuite/gdb.arch/i386-byte.exp
@@ -19,7 +19,7 @@
 # This file is part of the gdb testsuite.
 
 
-if {(![istarget "x86_64-*-*"] && ![istarget "i?86-*-*"]) || ![is_ilp32_target] } then {
+if {(![istarget "x86_64-*-*"] && ![istarget "i?86-*-*"])} then {
     verbose "Skipping i386 byte register tests."
     return
 }
diff --git a/gdb/testsuite/gdb.arch/i386-word.exp b/gdb/testsuite/gdb.arch/i386-word.exp
index fb402fb..b0439a0 100644
--- a/gdb/testsuite/gdb.arch/i386-word.exp
+++ b/gdb/testsuite/gdb.arch/i386-word.exp
@@ -19,7 +19,7 @@
 # This file is part of the gdb testsuite.
 
 
-if {(![istarget "x86_64-*-*"] && ![istarget "i?86-*-*"]) || ![is_ilp32_target] } then {
+if {(![istarget "x86_64-*-*"] && ![istarget "i?86-*-*"])} then {
     verbose "Skipping i386 word register tests."
     return
 }



More information about the Gdb-patches mailing list