This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
PATCH: Check byte/word registers on x86_64
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: GDB <gdb-patches at sourceware dot org>
- Date: Thu, 11 Oct 2012 08:27:08 -0700
- Subject: PATCH: Check byte/word registers on x86_64
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
}