From f41c2f5edda3e009566c96cf4ae27908d0387d36 Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Sat, 22 Apr 2023 11:04:11 +0200 Subject: [PATCH] [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. --- gdb/testsuite/lib/future.exp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 } -- 2.30.2