aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2025-02-18 07:36:44 +0100
committerTom de Vries <tdevries@suse.de>2025-02-18 07:36:44 +0100
commit24a2f1a6b0ceca9ab50c0d5cd16daba5a7ee1a3a (patch)
tree3ac323c990537505466809369c01e9fad4d865ca /gdb
parent1256b9860f37326c2b4fc2d2ec94be943e86429c (diff)
downloadbinutils-24a2f1a6b0ceca9ab50c0d5cd16daba5a7ee1a3a.zip
binutils-24a2f1a6b0ceca9ab50c0d5cd16daba5a7ee1a3a.tar.gz
binutils-24a2f1a6b0ceca9ab50c0d5cd16daba5a7ee1a3a.tar.bz2
[gdb] Fix some typos
Fix typos: ... overriden -> overridden reate -> create ... Tested on x86_64-linux. I
Diffstat (limited to 'gdb')
-rw-r--r--gdb/python/lib/gdb/FrameDecorator.py2
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp2
-rw-r--r--gdb/testsuite/lib/gdb.exp4
-rw-r--r--gdb/testsuite/lib/mi-support.exp4
-rw-r--r--gdb/testsuite/lib/prompt.exp2
5 files changed, 7 insertions, 7 deletions
diff --git a/gdb/python/lib/gdb/FrameDecorator.py b/gdb/python/lib/gdb/FrameDecorator.py
index 5cdfbe1..43efe8a 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 65cb05f..2af573f 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 d4634c8..435a6f8 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 a3546c5..c976fa1 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 a19a057..51997b3 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.