From patchwork Wed Jul 29 22:46:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandra Loosemore X-Patchwork-Id: 7924 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-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 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 16:46:02 -0600 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 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 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