From: Simon Marchi Date: Sat, 13 Sep 2025 01:40:34 +0000 (-0400) Subject: gdb, gdbserver: fix typos X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2d39aff26a5345e24b8167b6c62ac4e66c7c9040;p=thirdparty%2Fbinutils-gdb.git gdb, gdbserver: fix typos Found by the codespell pre-commit hook. Change-Id: Iafadd9485ce334c069dc8dbdab88ac3fb5fba674 --- diff --git a/gdb/testsuite/gdb.server/inferior-args.exp b/gdb/testsuite/gdb.server/inferior-args.exp index 2ee26c5d193..9c33874a9e5 100644 --- a/gdb/testsuite/gdb.server/inferior-args.exp +++ b/gdb/testsuite/gdb.server/inferior-args.exp @@ -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} { diff --git a/gdbserver/server.cc b/gdbserver/server.cc index 5907e86847a..5ad60be5b47 100644 --- a/gdbserver/server.cc +++ b/gdbserver/server.cc @@ -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"