From: Tom de Vries Date: Tue, 28 Apr 2026 06:37:06 +0000 (+0200) Subject: [gdb/testsuite] Fix tclint errors in gdb.dwarf2/fission-dw-form-strx.exp X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=986e397e3a42f114c8dd81f544782f040210dac2;p=thirdparty%2Fbinutils-gdb.git [gdb/testsuite] Fix tclint errors in gdb.dwarf2/fission-dw-form-strx.exp Fix two "expected braced word or word without substitutions in argument interpreted as expr [command-args]" in gdb.dwarf2/fission-dw-form-strx.exp. --- diff --git a/gdb/testsuite/gdb.dwarf2/fission-dw-form-strx.exp b/gdb/testsuite/gdb.dwarf2/fission-dw-form-strx.exp index 313e4eafe76..c2ca03a6693 100644 --- a/gdb/testsuite/gdb.dwarf2/fission-dw-form-strx.exp +++ b/gdb/testsuite/gdb.dwarf2/fission-dw-form-strx.exp @@ -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 }