gdb, gdbserver: fix typos

Found by the codespell pre-commit hook.

Change-Id: Iafadd9485ce334c069dc8dbdab88ac3fb5fba674
This commit is contained in:
Simon Marchi
2025-09-12 21:40:34 -04:00
parent cdd924f3f0
commit 2d39aff26a
2 changed files with 4 additions and 4 deletions

View 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} {

View 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"