* [pushed] [gdb/testsuite] Fix filename in gdb.debuginfod/crc_mismatch.exp
@ 2023-03-17 9:01 Tom de Vries
0 siblings, 0 replies; only message in thread
From: Tom de Vries @ 2023-03-17 9:01 UTC (permalink / raw)
To: gdb-patches
After running test-case gdb.debuginfod/crc_mismatch.exp, I find a dir called '$':
...
$ ls $build/gdb/testsuite/
$ config.log gdb.log lib outputs site.exp
cache config.status gdb.sum Makefile site.bak temp
...
Fix this by removing the stray '$' here:
...
set debugfile "$[standard_output_file ${testfile}.debug]"
...
Tested on x86_64-linux.
---
gdb/testsuite/gdb.debuginfod/crc_mismatch.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp b/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp
index ff1a4663260..36d008b8930 100644
--- a/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp
+++ b/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp
@@ -41,7 +41,7 @@ if {[gdb_gnu_strip_debug $binfile]} {
return -1
}
-set debugfile "$[standard_output_file ${testfile}.debug]"
+set debugfile [standard_output_file ${testfile}.debug]
set debugdir [standard_output_file "debug"]
remote_exec build "mkdir $debugdir"
remote_exec build "mkdir -p [file dirname $debugfile]"
base-commit: abee4501ebe519270ad52a436ad1fc8229e963bc
--
2.35.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-03-17 9:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-17 9:01 [pushed] [gdb/testsuite] Fix filename in gdb.debuginfod/crc_mismatch.exp 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).