[binutils-gdb] [gdb] Fix typos
Tom de Vries
vries@sourceware.org
Fri Jun 9 07:20:08 GMT 2023
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=30711c89cc7dcd2bd4ea772b2f5dc639c5b1cfcc
commit 30711c89cc7dcd2bd4ea772b2f5dc639c5b1cfcc
Author: Tom de Vries <tdevries@suse.de>
Date: Fri Jun 9 09:20:14 2023 +0200
[gdb] Fix typos
Fix typos:
- reponse -> response
- inital -> initial
- a -> an
Diff:
---
gdb/nto-tdep.h | 2 +-
gdb/testsuite/lib/gdb.exp | 2 +-
gdb/testsuite/lib/tuiterm.exp | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gdb/nto-tdep.h b/gdb/nto-tdep.h
index ca88642c31e..b352d5310c4 100644
--- a/gdb/nto-tdep.h
+++ b/gdb/nto-tdep.h
@@ -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);
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 220640210cd..3cdd73b7da3 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -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 {
diff --git a/gdb/testsuite/lib/tuiterm.exp b/gdb/testsuite/lib/tuiterm.exp
index 96f9b9d2bc3..171b242aa80 100644
--- a/gdb/testsuite/lib/tuiterm.exp
+++ b/gdb/testsuite/lib/tuiterm.exp
@@ -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]
More information about the Gdb-cvs
mailing list