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.
# the reply from the remote that indicates the thread list. It is expected
# that the thread list will contain two threads.
#
-# Whn DROP_BOTH is true then both threads will be removed from the modified
+# When DROP_BOTH is true then both threads will be removed from the modified
# line. Otherwise, only the second thread is removed.
proc update_replay_log { in_filename out_filename drop_both } {
# Read IN_FILENAME into a list.
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 = ':';
}