[binutils-gdb] [gdb/testsuite] Fix tclint errors in gdb.dwarf2/fission-dw-form-strx.exp

Tom de Vries via Gdb-cvs <[email protected]>
Newsgroups gmane.comp.gdb.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=986e397e3a42f114c8dd81f544782f040210dac2

commit 986e397e3a42f114c8dd81f544782f040210dac2
Author: Tom de Vries <[email protected]>
Date:   Tue Apr 28 08:37:06 2026 +0200

    [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:
---
 gdb/testsuite/gdb.dwarf2/fission-dw-form-strx.exp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.