From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 119475 invoked by alias); 29 Jul 2015 22:48:04 -0000 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 Received: (qmail 119416 invoked by uid 89); 29 Jul 2015 22:48:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 29 Jul 2015 22:48:00 +0000 Received: from svr-orw-fem-06.mgc.mentorg.com ([147.34.97.120]) by relay1.mentorg.com with esmtp id 1ZKa8i-0000cl-Vs from Sandra_Loosemore@mentor.com ; Wed, 29 Jul 2015 15:47:57 -0700 Received: from [IPv6:::1] (147.34.91.1) by SVR-ORW-FEM-06.mgc.mentorg.com (147.34.97.120) with Microsoft SMTP Server id 14.3.224.2; Wed, 29 Jul 2015 15:47:56 -0700 Message-ID: <55B957AA.6060506@codesourcery.com> Date: Wed, 29 Jul 2015 22:48:00 -0000 From: Sandra Loosemore User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: CC: Jan Kratochvil Subject: [patch, testsuite] restrict gdb.arch/ppc64-symtab-cordic.exp to ppc64 targets Content-Type: multipart/mixed; boundary="------------030108090601080003060902" X-SW-Source: 2015-07/txt/msg00890.txt.bz2 --------------030108090601080003060902 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Content-length: 234 I've found that it doesn't do anything useful to try loading a ppc64 .ko file when testing GDB on ARM, Nios II, etc. I copied the target test logic from the other gdb.arch/ppc64-*.exp testcase -- is this OK to check in? -Sandra --------------030108090601080003060902 Content-Type: text/x-log; name="gdb-cordic.log" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gdb-cordic.log" Content-length: 137 2015-07-29 Sandra Loosemore gdb/testsuite/ * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets. --------------030108090601080003060902 Content-Type: text/x-patch; name="gdb-cordic.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gdb-cordic.patch" Content-length: 614 diff --git a/gdb/testsuite/gdb.arch/ppc64-symtab-cordic.exp b/gdb/testsuite/gdb.arch/ppc64-symtab-cordic.exp index d9a3f13..fa82510 100644 --- a/gdb/testsuite/gdb.arch/ppc64-symtab-cordic.exp +++ b/gdb/testsuite/gdb.arch/ppc64-symtab-cordic.exp @@ -13,6 +13,11 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +if {![istarget "powerpc*"] || ![is_lp64_target]} { + verbose "Skipping powerpc64 separate debug file symtab test." + return +} + standard_testfile set kobz2file ${srcdir}/${subdir}/cordic.ko.bz2 --------------030108090601080003060902--