diff --git a/gdb/testsuite/boards/remote-gdbserver-on-localhost.exp b/gdb/testsuite/boards/remote-gdbserver-on-localhost.exp index 530e744c9b4..a38edacf130 100644 --- a/gdb/testsuite/boards/remote-gdbserver-on-localhost.exp +++ b/gdb/testsuite/boards/remote-gdbserver-on-localhost.exp @@ -56,7 +56,7 @@ save_vars {rsh_cmd res} { # Make sure build can't see files on remote target. We can't use # remote_exec target, because we're in the middle of parsing the # target board. - remote_exec build $rsh_cmd chmod go-rx ." + remote_exec build $rsh_cmd "chmod go-rx ." } # Set remotedir by default, to force remote_download target to give an