diff options
author | Tom de Vries <tdevries@suse.de> | 2025-04-10 18:42:06 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2025-04-10 18:42:06 +0200 |
commit | 7319a302dd34e0864a737c77cde3aeff90c4a5fb (patch) | |
tree | af8e718ac2499f159969f1883c2b5cf980f5be06 | |
parent | d1458933830456e54223d9fc61f0d9b3a19256f5 (diff) | |
download | binutils-7319a302dd34e0864a737c77cde3aeff90c4a5fb.zip binutils-7319a302dd34e0864a737c77cde3aeff90c4a5fb.tar.gz binutils-7319a302dd34e0864a737c77cde3aeff90c4a5fb.tar.bz2 |
[gdb/config] Fix codespell warnings
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>
-rw-r--r-- | .pre-commit-config.yaml | 2 | ||||
-rw-r--r-- | gdb/config/djgpp/README | 2 | ||||
-rw-r--r-- | gdb/config/djgpp/djconfig.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 488e781..4a9f7ac 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: diff --git a/gdb/config/djgpp/README b/gdb/config/djgpp/README index 2ae6535..cecc9d0 100644 --- a/gdb/config/djgpp/README +++ b/gdb/config/djgpp/README @@ -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. diff --git a/gdb/config/djgpp/djconfig.sh b/gdb/config/djgpp/djconfig.sh index 4952a11..05b3bbe 100644 --- a/gdb/config/djgpp/djconfig.sh +++ b/gdb/config/djgpp/djconfig.sh @@ -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 |