diff options
| author | Tom de Vries <tdevries@suse.de> | 2026-04-28 08:37:06 +0200 |
|---|---|---|
| committer | Tom de Vries <tdevries@suse.de> | 2026-04-28 08:37:06 +0200 |
| commit | 986e397e3a42f114c8dd81f544782f040210dac2 (patch) | |
| tree | a6248a3d2af77c83506a6bb9cee72faa9a8e5a77 | |
| parent | 29a427b5ccafec13cdaa2b5c27d850e9e99b9125 (diff) | |
| download | binutils-986e397e3a42f114c8dd81f544782f040210dac2.tar.gz binutils-986e397e3a42f114c8dd81f544782f040210dac2.tar.bz2 binutils-986e397e3a42f114c8dd81f544782f040210dac2.zip | |
[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.
| -rw-r--r-- | gdb/testsuite/gdb.dwarf2/fission-dw-form-strx.exp | 8 |
1 files 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 } |
