From patchwork Fri Feb 27 10:39:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 5337 Received: (qmail 20923 invoked by alias); 27 Feb 2015 10:39:16 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 20913 invoked by uid 89); 27 Feb 2015 10:39:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.2 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, KAM_FROM_URIBL_PCCC, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-pa0-f49.google.com Received: from mail-pa0-f49.google.com (HELO mail-pa0-f49.google.com) (209.85.220.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 27 Feb 2015 10:39:15 +0000 Received: by pabli10 with SMTP id li10so5736843pab.3 for ; Fri, 27 Feb 2015 02:39:13 -0800 (PST) X-Received: by 10.70.91.8 with SMTP id ca8mr22823391pdb.156.1425033553327; Fri, 27 Feb 2015 02:39:13 -0800 (PST) Received: from E107787-LIN.cambridge.arm.com (gcc1-power7.osuosl.org. [140.211.15.137]) by mx.google.com with ESMTPSA id ps6sm3501961pbb.94.2015.02.27.02.39.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 27 Feb 2015 02:39:12 -0800 (PST) From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH] Don't skip catch-syscall.exp on hppa*-hp-hpux* target Date: Fri, 27 Feb 2015 10:39:08 +0000 Message-Id: <1425033548-1003-1-git-send-email-qiyaoltc@gmail.com> X-IsSubscribed: yes From: Yao Qi As far as I know, "catch syscall" is supported on hppa*-hp-hpux*, but the test catch-syscall.exp is skipped on this target by mistake. This patch is to fix it. However, I don't have a hpux machine to test. gdb/testsuite: 2015-02-27 Yao Qi * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux* target. --- gdb/testsuite/gdb.base/catch-syscall.exp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/gdb/testsuite/gdb.base/catch-syscall.exp b/gdb/testsuite/gdb.base/catch-syscall.exp index 33f5354..8f9dec3 100644 --- a/gdb/testsuite/gdb.base/catch-syscall.exp +++ b/gdb/testsuite/gdb.base/catch-syscall.exp @@ -23,19 +23,13 @@ if { [is_remote target] || ![isnative] } then { continue } -# Until "catch syscall" is implemented on other targets... -if { ![istarget "hppa*-hp-hpux*"] && ![istarget "*-linux*"] } { - continue -} - # This shall be updated whenever 'catch syscall' is implemented # on some architecture. -#if { ![istarget "i\[34567\]86-*-linux*"] if { ![istarget "x86_64-*-linux*"] && ![istarget "i\[34567\]86-*-linux*"] && ![istarget "powerpc-*-linux*"] && ![istarget "powerpc64-*-linux*"] && ![istarget "sparc-*-linux*"] && ![istarget "sparc64-*-linux*"] && ![istarget "mips*-linux*"] && ![istarget "arm*-linux*"] - && ![istarget "s390*-linux*"] } { + && ![istarget "s390*-linux*"] && ![istarget "hppa*-hp-hpux*"] } { continue }