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 <felix.willgerodt@intel.com>
This commit is contained in:
Felix Willgerodt
2022-11-10 16:22:46 +01:00
parent db2e277d1a
commit 70b9d05b26

View File

@ -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
}