]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/testsuite] Fix tclint errors in gdb.dwarf2/fission-dw-form-strx.exp
authorTom de Vries <tdevries@suse.de>
Tue, 28 Apr 2026 06:37:06 +0000 (08:37 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 28 Apr 2026 06:37:06 +0000 (08:37 +0200)
Fix two "expected braced word or word without substitutions in argument
interpreted as expr [command-args]" in gdb.dwarf2/fission-dw-form-strx.exp.

gdb/testsuite/gdb.dwarf2/fission-dw-form-strx.exp

index 313e4eafe76c2d0c8bdd60e2018c35ac814fed9a..c2ca03a669312ac619e1f466b4751579cc07156d 100644 (file)
@@ -18,7 +18,7 @@
 load_lib dwarf.exp
 
 # We run objcopy locally to split out the .dwo file.
-if [is_remote host] {
+if {[is_remote host]} {
     return 0
 }
 
@@ -75,9 +75,9 @@ Dwarf::assemble $asm_file {
 
 # Build the executable and extract the .dwo file using objcopy.
 set obj [standard_output_file "${testfile}-dw.o"]
-if [build_executable_and_dwo_files "$testfile.exp" "${binfile}" {nodebug} \
-       [list $asm_file [list nodebug split-dwo] $obj] \
-       [list $srcfile  [list nodebug]]] {
+if {[build_executable_and_dwo_files "$testfile.exp" "${binfile}" {nodebug} \
+        [list $asm_file [list nodebug split-dwo] $obj] \
+        [list $srcfile  [list nodebug]]]} {
     return -1
 }