From: Felix Willgerodt Date: Thu, 10 Nov 2022 15:22:46 +0000 (+0100) Subject: gdb, btrace: Fix rn-dl-bind.exp for new icx remark. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=70b9d05b26e861524d70ee90dcd28cfd77032ddd;p=binutils-gdb.git gdb, btrace: Fix rn-dl-bind.exp for new icx remark. When running the test with the latest Intel compiler: 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] 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. Signed-off-by: Felix Willgerodt --- diff --git a/gdb/testsuite/gdb.btrace/rn-dl-bind.exp b/gdb/testsuite/gdb.btrace/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] } { standard_testfile if [prepare_for_testing "failed to prepare" $testfile $srcfile \ - {c++ debug ldflags=-Wl,-z,lazy}] { + {debug ldflags=-Wl,-z,lazy}] { return -1 }