From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7825) id 9465B3858D20; Fri, 11 Nov 2022 12:33:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9465B3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1668169993; bh=vpAiTedP4fT9yn9eiP3j8VAwAbGnJ5e6GF7icuOK5JU=; h=From:To:Subject:Date:From; b=GXYAaFg+Dr5dS632P3LEvMkcoYu8ljd6tAGA4OAKfylWvU2bHNEGTunOT4pzg0CtE 7hSzcWXGM9ylKwGH0zmcVZ7JQ/yaYHJh4Qy7XN7ePcFvdOd5XtJXcLcFL0p+gUXi/U l/AhGfbnhr62OFVuy7ujd3uwsOht6EPX69HLBuj8= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Felix Willgerodt To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb, btrace: Fix rn-dl-bind.exp for new icx remark. X-Act-Checkin: binutils-gdb X-Git-Author: Felix Willgerodt X-Git-Refname: refs/heads/master X-Git-Oldrev: db2e277d1a840091f56185d94f9d39c6736d2556 X-Git-Newrev: 70b9d05b26e861524d70ee90dcd28cfd77032ddd Message-Id: <20221111123313.9465B3858D20@sourceware.org> Date: Fri, 11 Nov 2022 12:33:12 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D70b9d05b26e8= 61524d70ee90dcd28cfd77032ddd commit 70b9d05b26e861524d70ee90dcd28cfd77032ddd Author: Felix Willgerodt Date: Thu Nov 10 16:22:46 2022 +0100 gdb, btrace: Fix rn-dl-bind.exp for new icx remark. =20 When running the test with the latest Intel compiler: =20 Running gdb/gdb/testsuite/gdb.btrace/rn-dl-bind.exp ... gdb compile failed, icpx: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated] =20 The test doesn't seem to test something specifically for C++, so I removed the C++ compilation option. Alternatively we could rename rn-dl-bind.exp.c to rn-dl-bind.exp.cc. =20 Signed-off-by: Felix Willgerodt Diff: --- gdb/testsuite/gdb.btrace/rn-dl-bind.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.btrace/rn-dl-bind.exp b/gdb/testsuite/gdb.bt= race/rn-dl-bind.exp index d78f5654131..eb486b33124 100644 --- a/gdb/testsuite/gdb.btrace/rn-dl-bind.exp +++ b/gdb/testsuite/gdb.btrace/rn-dl-bind.exp @@ -28,7 +28,7 @@ if { [skip_btrace_tests] } { =20 standard_testfile if [prepare_for_testing "failed to prepare" $testfile $srcfile \ - {c++ debug ldflags=3D-Wl,-z,lazy}] { + {debug ldflags=3D-Wl,-z,lazy}] { return -1 }