[pushed,gdb/testsuite] Remove debug prints in gdb_find_gdc

Message ID 20230422090509.17831-1-tdevries@suse.de
State Committed
Headers
Series [pushed,gdb/testsuite] Remove debug prints in gdb_find_gdc |

Commit Message

Tom de Vries April 22, 2023, 9:05 a.m. UTC
  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(-)


base-commit: a88ee931eee4ba7339c481735b9405f66161e2f6
  

Patch

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
 }