[binutils-gdb] [gdb/testsuite] Add missing quote in remote-gdbserver-on-localhost.exp

Tom de Vries vries@sourceware.org
Tue Mar 21 12:52:58 GMT 2023


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=41246bbd77eda0a76cb84839f3eae1b33958171b

commit 41246bbd77eda0a76cb84839f3eae1b33958171b
Author: Tom de Vries <tdevries@suse.de>
Date:   Tue Mar 21 13:52:57 2023 +0100

    [gdb/testsuite] Add missing quote in remote-gdbserver-on-localhost.exp
    
    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.

Diff:
---
 gdb/testsuite/boards/remote-gdbserver-on-localhost.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


More information about the Gdb-cvs mailing list