From patchwork Fri Nov 17 15:25:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yao Qi X-Patchwork-Id: 24311 Received: (qmail 60146 invoked by alias); 17 Nov 2017 15:25:29 -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 60132 invoked by uid 89); 17 Nov 2017 15:25:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.7 required=5.0 tests=BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KB_WAM_FROM_NAME_SINGLEWORD, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-spam-relays-external:74.125.82.67, H*RU:74.125.82.67, (unknown), icc X-HELO: mail-wm0-f67.google.com Received: from mail-wm0-f67.google.com (HELO mail-wm0-f67.google.com) (74.125.82.67) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 17 Nov 2017 15:25:27 +0000 Received: by mail-wm0-f67.google.com with SMTP id l8so7106481wmg.4 for ; Fri, 17 Nov 2017 07:25:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=WyBKaNcG4DU46pi3TN0lJf2DmDtU5tIHDwMcYvgU8co=; b=gRr/kW0EGRhyOzHnFMNohC4+xkhZrTgmzxs+hdROdaadXyWcVAzL+eKe1TFwBxOVzN KQyGjJ02yQxqxtXD631aapX32oOrPj0oFb8gi39oCVL2nLSpOAMqGgXXR+EcpmMcmyw+ ueo+m3JsTEJ1bSMPp4rbdbESKIpxwnXdHWcJ8Q+DNT/sm4Dyl3D8DqzswiMSb/USV0hG 8Zotk822pHj+0gD1f1QzBPw3Vl20tZ5QhrqqxEIRsq3E5fzKizuyEB2xbqvYJJBv1D7L i6J3ma9KK3Kx/bq2gRufB/yigV4SFKpjhqLtE1LKd8LVhBasQPIAcdr0iFMETOn3TEVL Rkhg== X-Gm-Message-State: AJaThX4fZ+tDD3rKomw7IFB/g7y64Lm42h4bjENUv3bJxfnkIE4qMDMv qTBXX+4rVamYPhX+IDnZoSnHyw== X-Google-Smtp-Source: AGs4zMYDSRIgoxgW6c4un4AiEaO04TFMC2YCWSu91+T+8wGGuJlkrX7mLM0snepPjP5a2CagtatFuQ== X-Received: by 10.28.229.213 with SMTP id c204mr4908734wmh.57.1510932325080; Fri, 17 Nov 2017 07:25:25 -0800 (PST) Received: from E107787-LIN.cambridge.arm.com (static.42.136.251.148.clients.your-server.de. [148.251.136.42]) by smtp.gmail.com with ESMTPSA id 68sm3840114wmh.2.2017.11.17.07.25.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Nov 2017 07:25:24 -0800 (PST) From: Yao Qi X-Google-Original-From: Yao Qi To: gdb-patches@sourceware.org Subject: [PATCH] [testsuite] Don't skip gdb.dwarf2/pr10770.exp for non-gcc compiler Date: Fri, 17 Nov 2017 15:25:21 +0000 Message-Id: <1510932321-11891-1-git-send-email-yao.qi@linaro.org> X-IsSubscribed: yes gdb.dwarf2/pr10770.exp can be used for non-gcc compiler, at least clang. This patch removes the restriction to only use gcc. If other compilers, like xlc or icc, can't compile the .c file, test result is not changed. gdb/testsuite: 2017-11-17 Yao Qi * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc compiler. --- gdb/testsuite/gdb.dwarf2/pr10770.exp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gdb/testsuite/gdb.dwarf2/pr10770.exp b/gdb/testsuite/gdb.dwarf2/pr10770.exp index 938fbd1..63f4061 100644 --- a/gdb/testsuite/gdb.dwarf2/pr10770.exp +++ b/gdb/testsuite/gdb.dwarf2/pr10770.exp @@ -21,12 +21,6 @@ if {[prepare_for_testing "failed to prepare" ${testfile} ${srcfile}]} { return 0 } -# This test can only be run on targets which use GCC. -get_compiler_info -if {![test_compiler_info "gcc-*"]} { - return 0 -} - if {![runto_main]} { return -1 }