[gdb] Fix typos

Fix typos:
- reponse -> response
- inital -> initial
- a -> an
This commit is contained in:
Tom de Vries 2023-06-09 09:20:14 +02:00
parent ca5321d49a
commit 30711c89cc
3 changed files with 4 additions and 4 deletions

View File

@ -186,7 +186,7 @@ int nto_in_dynsym_resolve_code (CORE_ADDR pc);
const char *nto_extra_thread_info (struct target_ops *self, struct thread_info *);
LONGEST nto_read_auxv_from_initial_stack (CORE_ADDR inital_stack,
LONGEST nto_read_auxv_from_initial_stack (CORE_ADDR initial_stack,
gdb_byte *readbuf,
LONGEST len, size_t sizeof_auxv_t);

View File

@ -5916,7 +5916,7 @@ proc gdb_load_cmd { args } {
return 0
}
-re "(.*)\r\n$gdb_prompt " {
perror "Unexpected reponse from 'load' -- $expect_out(1,string)"
perror "Unexpected response from 'load' -- $expect_out(1,string)"
return -1
}
timeout {

View File

@ -913,8 +913,8 @@ namespace eval Term {
wait_for $str
}
# As proc command, but don't wait for a initial prompt. This is used for
# inital terminal commands, where there's no prompt yet.
# As proc command, but don't wait for an initial prompt. This is used for
# initial terminal commands, where there's no prompt yet.
proc command_no_prompt_prefix {cmd} {
send_gdb "$cmd\n"
set str [string_to_regexp $cmd]