public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb, btrace: Fix rn-dl-bind.exp for new icx remark.
@ 2022-11-11 12:33 Felix Willgerodt
  0 siblings, 0 replies; only message in thread
From: Felix Willgerodt @ 2022-11-11 12:33 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=70b9d05b26e861524d70ee90dcd28cfd77032ddd

commit 70b9d05b26e861524d70ee90dcd28cfd77032ddd
Author: Felix Willgerodt <felix.willgerodt@intel.com>
Date:   Thu Nov 10 16:22:46 2022 +0100

    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>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-11 12:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-11 12:33 [binutils-gdb] gdb, btrace: Fix rn-dl-bind.exp for new icx remark Felix Willgerodt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).