]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/testsuite, tclint] Fix gdb.server
authorTom de Vries <tdevries@suse.de>
Fri, 12 Sep 2025 13:04:50 +0000 (15:04 +0200)
committerTom de Vries <tdevries@suse.de>
Fri, 12 Sep 2025 13:04:50 +0000 (15:04 +0200)
commit715bac3ba9bea9ab4108f3205255cbf377ddfcdb
treeea5be1aed91fea340e567c457773c4d990bb753b
parent1a404632277c06f2077ad146b08cc0766525c83b
[gdb/testsuite, tclint] Fix gdb.server

Running tclint on the test-cases in gdb.server shows a few problems:
...
connect-with-no-symbol-file.exp:72:1: line has trailing whitespace \
  [trailing-whitespace]
exit-multiple-threads.exp:73:5: expected braced word or word without \
substitutions in argument interpreted as expr [command-args]
extended-remote-restart.exp:73:5: expected braced word or word without \
  substitutions in argument interpreted as expr [command-args]
monitor-exit-quit.exp:73:5: expected braced word or word without \
  substitutions in argument interpreted as expr [command-args]
reconnect-ctrl-c.exp:54:5: expected braced word or word without \
  substitutions in argument interpreted as expr [command-args]
server-exec-info.exp:24:1: expected braced word or word without \
  substitutions in argument interpreted as expr [command-args]
stop-reply-no-thread.exp:73:5: expected braced word or word without \
  substitutions in argument interpreted as expr [command-args]
/stop-reply-no-thread-multi.exp:81:5: expected braced word or word without \
  substitutions in argument interpreted as expr [command-args]
...

Fix these.

Tested on aarch64-linux.
gdb/testsuite/gdb.server/connect-with-no-symbol-file.exp
gdb/testsuite/gdb.server/exit-multiple-threads.exp
gdb/testsuite/gdb.server/extended-remote-restart.exp
gdb/testsuite/gdb.server/monitor-exit-quit.exp
gdb/testsuite/gdb.server/reconnect-ctrl-c.exp
gdb/testsuite/gdb.server/server-exec-info.exp
gdb/testsuite/gdb.server/stop-reply-no-thread-multi.exp
gdb/testsuite/gdb.server/stop-reply-no-thread.exp