From: Tom de Vries Date: Sat, 22 Apr 2023 09:04:11 +0000 (+0200) Subject: [gdb/testsuite] Remove debug prints in gdb_find_gdc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f41c2f5edda3e009566c96cf4ae27908d0387d36;p=binutils-gdb.git [gdb/testsuite] Remove debug prints in gdb_find_gdc When running the gdb.dlang test-cases, and forcing gdb_find_gdc to be used rather than dejagnu's copy (mimicing what happens with an older dejagnu without find_gdc), I run into these debug prints: ... Tool Root: /data/vries/gdb/leap-15-4/build CC: gdc ... Remove these. Tested on x86_64-linux. --- diff --git a/gdb/testsuite/lib/future.exp b/gdb/testsuite/lib/future.exp index fa839fcd12b..807053b8f94 100644 --- a/gdb/testsuite/lib/future.exp +++ b/gdb/testsuite/lib/future.exp @@ -43,7 +43,6 @@ proc gdb_find_gnatmake {} { proc gdb_find_gdc {} { global tool_root_dir - print "Tool Root: $tool_root_dir" if {![is_remote host]} { set file [lookfor_file $tool_root_dir gdc] @@ -58,7 +57,7 @@ proc gdb_find_gdc {} { } else { set CC [transform gdc] } - print "CC: $CC" + return $CC }