aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-06-09 09:20:14 +0200
committerTom de Vries <tdevries@suse.de>2023-06-09 09:20:14 +0200
commit30711c89cc7dcd2bd4ea772b2f5dc639c5b1cfcc (patch)
tree5ae5911c2d8e2f42bcd4c38b6720114f1011c29a
parentca5321d49ae1b6d1ec91d4ff79e85dc8ec30576a (diff)
downloadbinutils-30711c89cc7dcd2bd4ea772b2f5dc639c5b1cfcc.zip
binutils-30711c89cc7dcd2bd4ea772b2f5dc639c5b1cfcc.tar.gz
binutils-30711c89cc7dcd2bd4ea772b2f5dc639c5b1cfcc.tar.bz2
[gdb] Fix typos
Fix typos: - reponse -> response - inital -> initial - a -> an
-rw-r--r--gdb/nto-tdep.h2
-rw-r--r--gdb/testsuite/lib/gdb.exp2
-rw-r--r--gdb/testsuite/lib/tuiterm.exp4
3 files changed, 4 insertions, 4 deletions
diff --git a/gdb/nto-tdep.h b/gdb/nto-tdep.h
index ca88642..b352d53 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 2206402..3cdd73b 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 96f9b9d..171b242 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]