]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/config] Fix codespell warnings
authorTom de Vries <tdevries@suse.de>
Thu, 10 Apr 2025 16:42:06 +0000 (18:42 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 10 Apr 2025 16:42:06 +0000 (18:42 +0200)
Fix the following codespell warnings:
...
$ codespell --config gdb/contrib/setup.cfg gdb/config
gdb/config/djgpp/README:178: unitialized ==> uninitialized
gdb/config/djgpp/djconfig.sh:126: conatain ==> contain
...
and add gdb/config to the pre-commit codespell configuration.

Approved-By: Tom Tromey <tom@tromey.com>
.pre-commit-config.yaml
gdb/config/djgpp/README
gdb/config/djgpp/djconfig.sh

index 488e7812f94b7ae29641b48b1667d8992d2818f1..4a9f7ac63674a6fa19eb1666f2b8935c4bbcc32e 100644 (file)
@@ -69,7 +69,7 @@ repos:
     rev: v2.4.1
     hooks:
     - id: codespell
-      files: '^(gdbsupport|gdbserver|gdb/(tui|target|data-directory|po|system-gdbinit|mi|syscalls|arch|regformats|compile|python|guile))/'
+      files: '^(gdbsupport|gdbserver|gdb/(tui|target|data-directory|po|system-gdbinit|mi|syscalls|arch|regformats|compile|python|guile|config))/'
       args: [--config, gdb/contrib/setup.cfg]
   - repo: local
     hooks:
index 2ae6535039cc8983ea0bc2c12a42ad3b9e29caa3..cecc9d066ed1c047cf5b6ef72de0868c362352f9 100644 (file)
@@ -175,7 +175,7 @@ SOMETHING.tst (where SOMETHING is the name of the failed test).  You
 should compare each of the *.tst files with the corresponding *.out
 file and convince yourself that the differences do not indicate a real
 problem.  Examples of differences you can disregard are changes in the
-copyright blurb printed by GDB, values of unitialized variables,
+copyright blurb printed by GDB, values of uninitialized variables,
 addresses of global variables like argv[] and envp[] (which depend on
 the size of your environment), etc.
 
index 4952a11d4a36b2e71758ef09e7264ae6497ea893..05b3bbe0ad5357771c8bbb281ce769cbac259358 100644 (file)
@@ -123,7 +123,7 @@ do
 done
 
 # Now set the config shell. It is really needed, that the shell
-# points to a shell with full path and also it must conatain the
+# points to a shell with full path and also it must contain the
 # .exe suffix. I assume here, that bash is installed. If not,
 # install it. Additionally, the pathname must not contain a
 # drive letter, so use the /dev/x/foo format supported by versions