From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 101625 invoked by alias); 26 Jun 2019 03:53:00 -0000 Mailing-List: contact gdb-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: , Sender: gdb-cvs-owner@sourceware.org List-Subscribe: Sender: gdb-cvs-owner@sourceware.org Received: (qmail 101587 invoked by uid 9882); 26 Jun 2019 03:52:59 -0000 Date: Wed, 26 Jun 2019 03:53:00 -0000 Message-ID: <20190626035259.101586.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Tom de Vries To: gdb-cvs@sourceware.org Subject: [binutils-gdb] [gdb/testsuite] Add back missing debug for index-cache.exp X-Act-Checkin: binutils-gdb X-Git-Author: Tom de Vries X-Git-Refname: refs/heads/master X-Git-Oldrev: a93cbd6e69abc024bb65c8c398fa9898e551860c X-Git-Newrev: 22e217527d1ba9ff3d933a14c9d81b066fac606d X-SW-Source: 2019-06/txt/msg00207.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=22e217527d1ba9ff3d933a14c9d81b066fac606d commit 22e217527d1ba9ff3d933a14c9d81b066fac606d Author: Tom de Vries Date: Wed Jun 26 05:52:47 2019 +0200 [gdb/testsuite] Add back missing debug for index-cache.exp The proc prepare_for_testing has "debug" as default argument for the options parameter. In the commit c596f180a1 "[gdb/testsuite] Compile index-cache.c with -Wl,--build-id", by setting the options argument we've effectively dropped "debug". This causes index-cache.exp to not contain any debug info anymore on most systems (though not on openSUSE), which causes index-cache.exp FAILs. Fix this by adding back the missing "debug" option. Tested on x86_64-linux. gdb/testsuite/ChangeLog: 2019-06-26 Tom de Vries * gdb.base/index-cache.exp: Add back missing debug option. Diff: --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/index-cache.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8410a09..4f23343 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-06-26 Tom de Vries + + * gdb.base/index-cache.exp: Add back missing debug option. + 2019-06-23 Philippe Waroquiers * gdb.base/alias.exp: Test non matching/non existing prefixes. diff --git a/gdb/testsuite/gdb.base/index-cache.exp b/gdb/testsuite/gdb.base/index-cache.exp index 6f1488e..f14cbb0 100644 --- a/gdb/testsuite/gdb.base/index-cache.exp +++ b/gdb/testsuite/gdb.base/index-cache.exp @@ -19,7 +19,7 @@ standard_testfile if { [prepare_for_testing "failed to prepare" $testfile $srcfile \ - {additional_flags=-Wl,--build-id}] } { + {debug additional_flags=-Wl,--build-id}] } { return }