diff options
author | Tom de Vries <tdevries@suse.de> | 2023-03-17 10:01:07 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2023-03-17 10:01:07 +0100 |
commit | 14317f7f05d0290586f456d02176dd77a81aee69 (patch) | |
tree | 228f9f6bbf720154bcf3d78e18464aef48ab8a57 /gdb | |
parent | abee4501ebe519270ad52a436ad1fc8229e963bc (diff) | |
download | gdb-14317f7f05d0290586f456d02176dd77a81aee69.zip gdb-14317f7f05d0290586f456d02176dd77a81aee69.tar.gz gdb-14317f7f05d0290586f456d02176dd77a81aee69.tar.bz2 |
[gdb/testsuite] Fix filename in gdb.debuginfod/crc_mismatch.exp
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/gdb.debuginfod/crc_mismatch.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp b/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp index ff1a466..36d008b 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]" |