* [pushed] [gdb] Fix some typos
@ 2025-02-18 6:36 Tom de Vries
0 siblings, 0 replies; 2+ messages in thread
From: Tom de Vries @ 2025-02-18 6:36 UTC (permalink / raw)
To: gdb-patches
Fix typos:
...
overriden -> overridden
reate -> create
...
Tested on x86_64-linux.
I
---
gdb/python/lib/gdb/FrameDecorator.py | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp | 2 +-
gdb/testsuite/lib/gdb.exp | 4 ++--
gdb/testsuite/lib/mi-support.exp | 4 ++--
gdb/testsuite/lib/prompt.exp | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/gdb/python/lib/gdb/FrameDecorator.py b/gdb/python/lib/gdb/FrameDecorator.py
index 5cdfbe1b981..43efe8a5065 100644
--- a/gdb/python/lib/gdb/FrameDecorator.py
+++ b/gdb/python/lib/gdb/FrameDecorator.py
@@ -174,7 +174,7 @@ class FrameDecorator(_FrameDecoratorBase):
sub-classed from FrameDecorator. If Decorator1 just overrides the
'function' method, then all of the other methods are carried out
by the super-class FrameDecorator. But Decorator2 may have
- overriden other methods, so FrameDecorator will look at the
+ overridden other methods, so FrameDecorator will look at the
'base' parameter and defer to that class's methods. And so on,
down the chain."""
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp b/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp
index 65cb05f7366..2af573f2170 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp
@@ -212,7 +212,7 @@ proc out_line { name cu_dir cu_name line_dir line_name } {
}
# IFSOME can be optionally _same or _different if >= 2 absolute directories are
-# provided. Then in the _different case the overriden directories have invalid
+# provided. Then in the _different case the overridden directories have invalid
# XDIR value.
proc out_unit { func compdir ldir file ifsame } {
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index d4634c85725..435a6f8404f 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -2491,7 +2491,7 @@ proc default_gdb_spawn { } {
global INTERNAL_GDBFLAGS GDBFLAGS
global gdb_spawn_id
- # Set the default value, it may be overriden later by specific testfile.
+ # Set the default value, it may be overridden later by specific testfile.
#
# Use `set_board_info use_gdb_stub' for the board file to flag the inferior
# is already started after connecting and run/attach are not supported.
@@ -5241,7 +5241,7 @@ proc is_any_target {args} {
#
# This is the preferred way of checking use_gdb_stub, since it allows to check
# the value before the gdb has been spawned and it will return the correct value
-# even when it was overriden by the test.
+# even when it was overridden by the test.
#
# Note that stub targets are not able to spawn new inferiors. Use this
# check for skipping respective tests.
diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp
index a3546c551a6..c976fa11c77 100644
--- a/gdb/testsuite/lib/mi-support.exp
+++ b/gdb/testsuite/lib/mi-support.exp
@@ -131,7 +131,7 @@ proc mi_create_inferior_pty {} {
}
}
-# Create a new pty, and reate a new MI UI (using the new-ui command) on it.
+# Create a new pty, and create a new MI UI (using the new-ui command) on it.
#
# Return a list with the spawn id for that pty and the pty file name.
@@ -247,7 +247,7 @@ proc default_mi_gdb_start { { flags {} } } {
return [mi_gdb_start_separate_mi_tty $flags]
}
- # Set the default value, it may be overriden later by specific testfile.
+ # Set the default value, it may be overridden later by specific testfile.
set use_gdb_stub [target_info exists use_gdb_stub]
# Start SID.
diff --git a/gdb/testsuite/lib/prompt.exp b/gdb/testsuite/lib/prompt.exp
index a19a057e01c..51997b36690 100644
--- a/gdb/testsuite/lib/prompt.exp
+++ b/gdb/testsuite/lib/prompt.exp
@@ -32,7 +32,7 @@ proc default_prompt_gdb_start { } {
global timeout
global gdb_spawn_id
- # Set the default value, it may be overriden later by specific testfile.
+ # Set the default value, it may be overridden later by specific testfile.
#
# Use `set_board_info use_gdb_stub' for the board file to flag the inferior
# is already started after connecting and run/attach are not supported.
base-commit: 1256b9860f37326c2b4fc2d2ec94be943e86429c
--
2.43.0
^ permalink raw reply [flat|nested] 2+ messages in thread* [pushed] [gdb] Fix some typos
@ 2026-11-25 16:08 Tom de Vries
0 siblings, 0 replies; 2+ messages in thread
From: Tom de Vries @ 2026-11-25 16:08 UTC (permalink / raw)
To: gdb-patches
Fix some typos:
- should server -> should serve
- would takes us -> would take us
- to makes sense -> to make sense
- doesn't exists -> doesn't exist
- does not exists -> does not exist
- to gets things -> to get things
---
gdb/arc-tdep.c | 2 +-
gdb/dwarf2/aranges.c | 2 +-
gdb/infrun.c | 2 +-
gdb/sol-thread.c | 2 +-
gdb/testsuite/gdb.multi/multi-target-ping-pong-next.exp | 2 +-
gdb/testsuite/lib/debuginfod-support.exp | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/gdb/arc-tdep.c b/gdb/arc-tdep.c
index 4936a5c8fbb..4906b25ed2a 100644
--- a/gdb/arc-tdep.c
+++ b/gdb/arc-tdep.c
@@ -1972,7 +1972,7 @@ arc_arch_features_create (const bfd *abfd, const unsigned long mach)
/* Try to guess the features parameters by looking at the binary to be
executed. If the user is providing a binary that does not match the
- target, then tough luck. This is the last effort to makes sense of
+ target, then tough luck. This is the last effort to make sense of
what's going on. */
if (abfd != nullptr && bfd_get_flavour (abfd) == bfd_target_elf_flavour)
{
diff --git a/gdb/dwarf2/aranges.c b/gdb/dwarf2/aranges.c
index 9b5143a051f..2136653815a 100644
--- a/gdb/dwarf2/aranges.c
+++ b/gdb/dwarf2/aranges.c
@@ -115,7 +115,7 @@ read_addrmap_from_aranges (dwarf2_per_objfile *per_objfile,
if (per_cu_it == debug_info_offset_to_per_cu.cend ())
{
warn->warn (_("Section .debug_aranges in %ps entry at offset %s "
- "debug_info_offset %s does not exists, "
+ "debug_info_offset %s does not exist, "
"ignoring .debug_aranges."),
styled_string (file_name_style.style (),
objfile_name (objfile)),
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 8f02c49cbcb..82c685583ec 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -2994,7 +2994,7 @@ resume_1 (enum gdb_signal sig)
where we should _always_ single-step, even if we have a
step-resume breakpoint, like when a software watchpoint is
set. Assuming single-stepping and delivering a signal at the
- same time would takes us to the signal handler, then we could
+ same time would take us to the signal handler, then we could
have removed the breakpoint at PC to step over it. However,
some hardware step targets (like e.g., Mac OS) can't step
into signal handlers, and for those, we need to leave the
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index 8151f7e3a56..25bf8badcc1 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -327,7 +327,7 @@ thread_to_lwp (ptid_t thread_id, int default_lwp)
}
/* Convert an LWP ID into a POSIX or Solaris thread ID. If LWP_ID
- doesn't exists, that's an error.
+ doesn't exist, that's an error.
NOTE: This function probably shouldn't call error(). */
diff --git a/gdb/testsuite/gdb.multi/multi-target-ping-pong-next.exp b/gdb/testsuite/gdb.multi/multi-target-ping-pong-next.exp
index ec2b6272f68..d6c8b510cb1 100644
--- a/gdb/testsuite/gdb.multi/multi-target-ping-pong-next.exp
+++ b/gdb/testsuite/gdb.multi/multi-target-ping-pong-next.exp
@@ -45,7 +45,7 @@ proc test_ping_pong_next {} {
# Set two breakpoints, one for each of inferior 1 and 2. Inferior
# 1 is running on the native target, and inferior 2 is running on
- # extended-gdbserver. Run to breakpoint 1 to gets things started.
+ # extended-gdbserver. Run to breakpoint 1 to get things started.
set line1 [gdb_get_line_number "set break 1 here"]
set line2 [gdb_get_line_number "set break 2 here"]
diff --git a/gdb/testsuite/lib/debuginfod-support.exp b/gdb/testsuite/lib/debuginfod-support.exp
index 1d11c5bea8b..23f8fea7495 100644
--- a/gdb/testsuite/lib/debuginfod-support.exp
+++ b/gdb/testsuite/lib/debuginfod-support.exp
@@ -116,7 +116,7 @@ proc with_debuginfod_env { cache body } {
# Start a debuginfod server. DB is the directory to use for the server's
# database cache, while DEBUGDIR is a directory containing all the debug
-# information that the server should server.
+# information that the server should serve.
#
# This proc will try to find an available port to start the server on, will
# start the server, and check that the server has started correctly.
base-commit: a2c327f8de1e2ba754e71e3ccc963a9b323e5c7b
--
2.51.0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-25 16:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-18 6:36 [pushed] [gdb] Fix some typos Tom de Vries
2026-11-25 16:08 Tom de Vries
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox