[pushed,1/2,gdb/testsuite] Add missing quote in remote-gdbserver-on-localhost.exp

Message ID 20230321125341.20523-1-tdevries@suse.de
State Committed
Headers
Series [pushed,1/2,gdb/testsuite] Add missing quote in remote-gdbserver-on-localhost.exp |

Commit Message

Tom de Vries March 21, 2023, 12:53 p.m. UTC
  In a recent commit I forgot to add a double quote before chmod here:
...
      remote_exec build $rsh_cmd chmod go-rx ."
...

Fix it by adding the missing double quote.
---
 gdb/testsuite/boards/remote-gdbserver-on-localhost.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: ccd7caeea05eec1d43a1e63a7784db3570c02db0
  

Patch

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