[gdb/testsuite, gdbserver] Fix typos

Codespell noticed two new typos:
...
$ pre-commit run --all-files codespell
codespell................................................................Failed
- hook id: codespell
- exit code: 65

gdbserver/server.cc:4255: errror ==> error
gdb/testsuite/gdb.replay/missing-thread.exp:87: Whn ==> When
...

Fix these.
This commit is contained in:
Tom de Vries
2025-09-24 08:47:15 +02:00
parent f6a04a1636
commit c0d4514f77
2 changed files with 2 additions and 2 deletions

View File

@@ -4252,7 +4252,7 @@ captured_main (int argc, char *argv[])
optind--;
/* For required arguments, if we don't have an argument, then
this is an errror, set OPTC to reflect this. */
this is an error, set OPTC to reflect this. */
if (longopts[longindex].has_arg == required_argument)
optc = ':';
}