From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2483 invoked by alias); 16 May 2008 21:07:05 -0000 Received: (qmail 2431 invoked by uid 22791); 16 May 2008 21:07:05 -0000 X-Spam-Check-By: sourceware.org Received: from igw3.br.ibm.com (HELO igw3.br.ibm.com) (32.104.18.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 16 May 2008 21:06:42 +0000 Received: from mailhub1.br.ibm.com (unknown [9.18.232.109]) by igw3.br.ibm.com (Postfix) with ESMTP id C223039011E for ; Fri, 16 May 2008 17:51:49 -0300 (BRST) Received: from d24av02.br.ibm.com (d24av02.br.ibm.com [9.18.232.47]) by mailhub1.br.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m4GL6djp1008016 for ; Fri, 16 May 2008 18:06:39 -0300 Received: from d24av02.br.ibm.com (loopback [127.0.0.1]) by d24av02.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m4GL6aEF010601 for ; Fri, 16 May 2008 18:06:36 -0300 Received: from [9.8.13.222] ([9.8.13.222]) by d24av02.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m4GL6aBd010584 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 16 May 2008 18:06:36 -0300 Subject: [ob][PATCH] ppc32: Make atomic instruction testcase failure quiet. From: Luis Machado Reply-To: luisgpm@linux.vnet.ibm.com To: gdb-patches@sourceware.org Content-Type: multipart/mixed; boundary="=-RFxmRZ5sZn1uHUL/HTTm" Date: Sat, 17 May 2008 13:53:00 -0000 Message-Id: <1210972000.1733.34.camel@gargoyle> Mime-Version: 1.0 X-Mailer: Evolution 2.12.1 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: 2008-05/txt/msg00523.txt.bz2 --=-RFxmRZ5sZn1uHUL/HTTm Content-Type: text/plain Content-Transfer-Encoding: 7bit Content-length: 202 Hi, This should be obvious enough. ppc32 doesn't support the atomic instructions tested by this testcase and it shows expected compiler errors. This patch makes those messages go away. Regards, Luis --=-RFxmRZ5sZn1uHUL/HTTm Content-Disposition: attachment; filename=clean-atomic-test.diff Content-Type: text/x-patch; name=clean-atomic-test.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-length: 965 2008-04-16 Luis Machado * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure quiet for ppc32 and group options into a single variable. Index: testsuite/gdb.arch/ppc64-atomic-inst.exp =================================================================== --- testsuite.orig/gdb.arch/ppc64-atomic-inst.exp 2008-05-16 17:52:09.000000000 -0300 +++ testsuite/gdb.arch/ppc64-atomic-inst.exp 2008-05-16 17:56:50.000000000 -0300 @@ -35,9 +35,9 @@ set testfile "ppc64-atomic-inst" set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile} -set compile_flags "debug" +set compile_flags "debug quiet" -if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [concat debug additional_flags=-m64]] != "" } { +if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [concat $compile_flags additional_flags=-m64]] != "" } { unsupported "Testcase compile failed." return -1 } --=-RFxmRZ5sZn1uHUL/HTTm--