]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb] Fix some typos
authorTom de Vries <tdevries@suse.de>
Tue, 18 Feb 2025 06:36:44 +0000 (07:36 +0100)
committerTom de Vries <tdevries@suse.de>
Tue, 18 Feb 2025 06:36:44 +0000 (07:36 +0100)
Fix typos:
...
overriden -> overridden
reate -> create
...

Tested on x86_64-linux.
I

gdb/python/lib/gdb/FrameDecorator.py
gdb/testsuite/gdb.dwarf2/dw2-dir-file-name.exp
gdb/testsuite/lib/gdb.exp
gdb/testsuite/lib/mi-support.exp
gdb/testsuite/lib/prompt.exp

index 5cdfbe1b981a9362945e571683f0663bd342cfcc..43efe8a5065b5d5548393ba95ef005c8a0f007d2 100644 (file)
@@ -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."""
 
index 65cb05f736623d63f6b92020d3d20a9a7c38de1b..2af573f2170583a98f8cea201543fbb4c34c883d 100644 (file)
@@ -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 } {
index d4634c857254ae6102242299936250a595986996..435a6f8404f2371f182ef60eb16564aeea54b524 100644 (file)
@@ -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.
index a3546c551a6d23c6c49cd63a93ff88a056fad327..c976fa11c771c9d5bcd13c3935e9495a9fc53202 100644 (file)
@@ -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.
index a19a057e01c52da2b8538423e66cd74792cb5741..51997b3669096f7a3f19178bba58f741f5982a2e 100644 (file)
@@ -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.