From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26147 invoked by alias); 11 Oct 2012 15:27:18 -0000 Received: (qmail 26137 invoked by uid 22791); 11 Oct 2012 15:27:17 -0000 X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ie0-f169.google.com (HELO mail-ie0-f169.google.com) (209.85.223.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 11 Oct 2012 15:27:12 +0000 Received: by mail-ie0-f169.google.com with SMTP id 10so4042742ied.0 for ; Thu, 11 Oct 2012 08:27:11 -0700 (PDT) Received: by 10.50.37.135 with SMTP id y7mr1228707igj.36.1349969230619; Thu, 11 Oct 2012 08:27:10 -0700 (PDT) Received: from gnu-tools-1.localdomain (76-220-57-190.lightspeed.sntcca.sbcglobal.net. [76.220.57.190]) by mx.google.com with ESMTPS id yf6sm4096918igb.0.2012.10.11.08.27.09 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 11 Oct 2012 08:27:09 -0700 (PDT) Received: by gnu-tools-1.localdomain (Postfix, from userid 1000) id 2782F1A0649; Thu, 11 Oct 2012 08:27:08 -0700 (PDT) Date: Thu, 11 Oct 2012 15:27:00 -0000 From: "H.J. Lu" To: GDB Subject: PATCH: Check byte/word registers on x86_64 Message-ID: <20121011152708.GB14479@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-10/txt/msg00174.txt.bz2 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 * 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 }