From patchwork Fri Jan 2 21:02:29 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 4490 Received: (qmail 21238 invoked by alias); 2 Jan 2015 21:02:34 -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 21225 invoked by uid 89); 2 Jan 2015 21:02:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mail-qc0-f201.google.com Received: from mail-qc0-f201.google.com (HELO mail-qc0-f201.google.com) (209.85.216.201) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 02 Jan 2015 21:02:32 +0000 Received: by mail-qc0-f201.google.com with SMTP id m20so919460qcx.2 for ; Fri, 02 Jan 2015 13:02:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=PVqaMkWP67CBVjOTDONn5ZQc0+kc0vWg9OCeqPpi0mg=; b=Hc3RDR9FPkhYkKCLMoMirCn/7GoQFde236MwiKOGbcTdpKpnM/ZqV9oz2/pAKXLN2U /TdLILelOydBMjJ8CagH7v+S8MRfFwSZ7aykFVpPsemtexJxKBgwk+iwA+sVm2IvDcpP X9D5e9XHcA4FajUpNx7M0PUuYu7QI2P7XO0/4Ark5ouEGIbhFDI18VpM7+h5qBacvHK3 Pp3aKSLsMbCLTatzOyxfZJp50Gntvbpoc7Z8bJx5//q06Y205gZ25EzgM40dm7XZihds 2/XiXBm7c+bTHVUmjMxKnF9OLjCptgAC2e1VdTHkSJ/5pZz2c84qvCwe3HuuxknxkSLU 6a3w== X-Gm-Message-State: ALoCoQkXa/NVpxzSP5msHJ56XOuAoRKNJv2o8FcVROKYBLeychrw/TvRCMHjOJYseBHejmLFDt3m8Bibcik3U4ZWDKIWv79OvFSRbrsQyvHMkD+C7p6EANLlCCyRYMgHHUNbslJUzEzEmwucfRW97fAC70HayOP1P69wMt+ULfuQ7US0HxDyGgY= X-Received: by 10.236.98.71 with SMTP id u47mr60525855yhf.30.1420232550058; Fri, 02 Jan 2015 13:02:30 -0800 (PST) Received: from corpmail-nozzle1-2.hot.corp.google.com ([100.108.1.103]) by gmr-mx.google.com with ESMTPS id t7si714512yho.3.2015.01.02.13.02.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Jan 2015 13:02:30 -0800 (PST) Received: from ruffy.mtv.corp.google.com ([172.17.128.44]) by corpmail-nozzle1-2.hot.corp.google.com with ESMTPS id yfL2zjzS.1; Fri, 02 Jan 2015 13:02:29 -0800 From: Doug Evans To: gdb-patches@sourceware.org Subject: [COMMITTED PATCH] gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc. Date: Fri, 02 Jan 2015 13:02:29 -0800 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hi. I happened to notice this while adding a new test. Regression tested on amd64-linux. 2015-01-02 Doug Evans * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc. diff --git a/gdb/testsuite/gdb.dwarf2/dw4-sig-types.exp b/gdb/testsuite/gdb.dwarf2/dw4-sig-types.exp index e47dc2b..3523b66 100644 --- a/gdb/testsuite/gdb.dwarf2/dw4-sig-types.exp +++ b/gdb/testsuite/gdb.dwarf2/dw4-sig-types.exp @@ -13,17 +13,17 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -# Test dwarf4 signatured types. +# Test dwarf4 signatured types (DW_TAG_type_unit). standard_testfile .cc dw4-sig-types-b.cc # This test is intended for targets which support DWARF-4. -# Since we pass an explicit -gdwarf-4 to the compiler, we let -# that be the test of whether the target supports it. +# Since we pass an explicit -gdwarf-4 -fdebug-types-section to the compiler, +# we let that be the test of whether the target supports it. if { [prepare_for_testing "${testfile}.exp" "${testfile}" \ [list $srcfile $srcfile2] \ - {debug c++ additional_flags=-gdwarf-4}] } { + {debug c++ additional_flags=-gdwarf-4 additional_flags=-fdebug-types-section}] } { return -1 }