]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb, gdbserver: fix typos
authorSimon Marchi <simon.marchi@polymtl.ca>
Sat, 13 Sep 2025 01:40:34 +0000 (21:40 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Sat, 13 Sep 2025 01:41:37 +0000 (21:41 -0400)
Found by the codespell pre-commit hook.

Change-Id: Iafadd9485ce334c069dc8dbdab88ac3fb5fba674

gdb/testsuite/gdb.server/inferior-args.exp
gdbserver/server.cc

index 2ee26c5d193ccf869170d00bcbd64311550e1d64..9c33874a9e5bd804f8936b7db2a8e24c512cf156 100644 (file)
@@ -113,10 +113,10 @@ proc do_test_inner { extended_p with_shell_p escape_p arglist re_list } {
 # argument.  If RE_ESC_LIST is not given then ARGLIST is reused, which
 # implies the arguments appear unmodified in the test output.
 #
-# The optional RE_NO_ESC_LIST is a list of patterns ot match against the
+# The optional RE_NO_ESC_LIST is a list of patterns to match against the
 # inferior arguments when gdbserver is started with --no-escape-args or
 # --no-startup-with-shell.  There should be one pattern for each argument.
-# If RE_NO_ESC_LIST is not given then RE_ESC_LIST is resused, which implies
+# If RE_NO_ESC_LIST is not given then RE_ESC_LIST is reused, which implies
 # there's no difference in how the arguments are printed.
 proc args_test { name arglist {re_esc_list {}} {re_no_esc_list {}} } {
     if {[llength $re_esc_list] == 0} {
index 5907e86847ad84762d9d56ee58ef60f75c2093a8..5ad60be5b4790373231e44a811b6f48a98120b67 100644 (file)
@@ -3869,7 +3869,7 @@ gdbserver_usage (FILE *stream)
           "  --startup-with-shell\n"
           "                        Start PROG using a shell.  I.e., execs a shell that\n"
           "                        then execs PROG.  (default)\n"
-          "                        To make use of globbing and variable subsitution for\n"
+          "                        To make use of globbing and variable substitution for\n"
           "                        arguments passed directly on gdbserver invocation,\n"
           "                        see the --no-escape-args command line option in\n"
           "                        addition\n"
@@ -3881,7 +3881,7 @@ gdbserver_usage (FILE *stream)
           "                        ARGS passed directly on gdbserver invocation are\n"
           "                        escaped, so no globbing or variable substitution\n"
           "                        happens for those. This option disables escaping, so\n"
-          "                        globbing and variable substituation in the shell\n"
+          "                        globbing and variable substitution in the shell\n"
           "                        are done for ARGS on UNIX-like systems.\n"
           "\n"
           "Debug options:\n"