From: Tom de Vries Date: Wed, 24 Sep 2025 06:47:15 +0000 (+0200) Subject: [gdb/testsuite, gdbserver] Fix typos X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c0d4514f77d4f6e22e04ad54cbf462f11fc5620a;p=thirdparty%2Fbinutils-gdb.git [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. --- diff --git a/gdb/testsuite/gdb.replay/missing-thread.exp b/gdb/testsuite/gdb.replay/missing-thread.exp index 15a8aaed2e4..6ee2e4cff14 100644 --- a/gdb/testsuite/gdb.replay/missing-thread.exp +++ b/gdb/testsuite/gdb.replay/missing-thread.exp @@ -84,7 +84,7 @@ proc_with_prefix record_initial_logfile { log_filename } { # 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. diff --git a/gdbserver/server.cc b/gdbserver/server.cc index 8dc1f498d4f..5b40600f457 100644 --- a/gdbserver/server.cc +++ b/gdbserver/server.cc @@ -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 = ':'; }