mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
[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:
@@ -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
|
# the reply from the remote that indicates the thread list. It is expected
|
||||||
# that the thread list will contain two threads.
|
# 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.
|
# line. Otherwise, only the second thread is removed.
|
||||||
proc update_replay_log { in_filename out_filename drop_both } {
|
proc update_replay_log { in_filename out_filename drop_both } {
|
||||||
# Read IN_FILENAME into a list.
|
# Read IN_FILENAME into a list.
|
||||||
|
|||||||
@@ -4252,7 +4252,7 @@ captured_main (int argc, char *argv[])
|
|||||||
optind--;
|
optind--;
|
||||||
|
|
||||||
/* For required arguments, if we don't have an argument, then
|
/* 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)
|
if (longopts[longindex].has_arg == required_argument)
|
||||||
optc = ':';
|
optc = ':';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user