From patchwork Tue Mar 3 12:00:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Arnez X-Patchwork-Id: 5429 Received: (qmail 108252 invoked by alias); 3 Mar 2015 12:00:58 -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 108239 invoked by uid 89); 3 Mar 2015 12:00:57 -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, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e06smtp10.uk.ibm.com Received: from e06smtp10.uk.ibm.com (HELO e06smtp10.uk.ibm.com) (195.75.94.106) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 03 Mar 2015 12:00:56 +0000 Received: from /spool/local by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 3 Mar 2015 12:00:53 -0000 Received: from d06dlp01.portsmouth.uk.ibm.com (9.149.20.13) by e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 3 Mar 2015 12:00:52 -0000 Received: from b06cxnps3075.portsmouth.uk.ibm.com (d06relay10.portsmouth.uk.ibm.com [9.149.109.195]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 4831117D8059 for ; Tue, 3 Mar 2015 12:01:10 +0000 (GMT) Received: from d06av11.portsmouth.uk.ibm.com (d06av11.portsmouth.uk.ibm.com [9.149.37.252]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t23C0pY463373508 for ; Tue, 3 Mar 2015 12:00:51 GMT Received: from d06av11.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t23C0poX013550 for ; Tue, 3 Mar 2015 05:00:51 -0700 Received: from br87z6lw.de.ibm.com (dyn-9-152-212-115.boeblingen.de.ibm.com [9.152.212.115]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t23C0oqA013522 for ; Tue, 3 Mar 2015 05:00:50 -0700 From: Andreas Arnez To: gdb-patches@sourceware.org Subject: catch-syscall.exp: Fix missing architecture name for s390:31-bit Date: Tue, 03 Mar 2015 13:00:50 +0100 Message-ID: <87fv9mxpcd.fsf@br87z6lw.de.ibm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15030312-0041-0000-0000-0000036CB304 X-IsSubscribed: yes For the "multiple targets" test in catch-syscall.exp, set the 'arch1' variable to a valid string. Note that this test still fails unless the following patches are applied as well: * "S390: Place "s390:31-bit" after default arch in 64-bit arch list" (https://sourceware.org/ml/binutils/2015-03/msg00013.html) * "S390: Fix syscall list for s390x" (https://sourceware.org/ml/gdb-patches/2015-03/msg00062.html) gdb/testsuite/ChangeLog: * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set the 'arch1' variable for "s390*-linux*" targets. --- gdb/testsuite/gdb.base/catch-syscall.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.base/catch-syscall.exp b/gdb/testsuite/gdb.base/catch-syscall.exp index 8f9dec3..498ae36 100644 --- a/gdb/testsuite/gdb.base/catch-syscall.exp +++ b/gdb/testsuite/gdb.base/catch-syscall.exp @@ -403,7 +403,7 @@ proc test_catch_syscall_multi_arch {} { verbose "Not testing ARM for multi-arch syscall support" return } elseif { [istarget "s390*-linux*"] } { - set arch1 "" + set arch1 "s390:31-bit" set arch2 "s390:64-bit" set syscall1_name "_newselect" set syscall2_name "select"