public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [pushed] [gdb/testsuite] Remove debug prints in gdb_find_gdc
@ 2023-04-22  9:05 Tom de Vries
  0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2023-04-22  9:05 UTC (permalink / raw)
  To: gdb-patches

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
 }
 

base-commit: a88ee931eee4ba7339c481735b9405f66161e2f6
-- 
2.35.3


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

only message in thread, other threads:[~2023-04-22  9:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-22  9:05 [pushed] [gdb/testsuite] Remove debug prints in gdb_find_gdc Tom de Vries

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