]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/contrib] Drop two words from codespell-ignore-words.txt
authorTom de Vries <tdevries@suse.de>
Thu, 27 Mar 2025 16:53:52 +0000 (17:53 +0100)
committerTom de Vries <tdevries@suse.de>
Thu, 27 Mar 2025 16:53:52 +0000 (17:53 +0100)
Tom Tromey mentioned [1] that the words "invokable" and "useable"
present in codespell-ignore-words.txt should be dropped.

Do so and fix the following typos:
...
$ codespell --config gdbsupport/setup.cfg gdbsupport
gdbsupport/common-debug.h:218: invokable ==> invocable
gdbsupport/event-loop.cc:84: useable ==> usable
...

Approved-By: Tom Tromey <tom@tromey.com>
[1] https://sourceware.org/pipermail/gdb-patches/2025-March/216584.html

gdb/contrib/codespell-ignore-words.txt
gdbsupport/common-debug.h
gdbsupport/event-loop.cc

index 2b9d878c853811134aad740c4735d6bd6e04e825..2d6e13af68368336a0e55ef80bfa3b06162014af 100644 (file)
@@ -1,4 +1,2 @@
 configury
-invokable
-useable
 SME
index f7c8d8190af4eb9f276000a36b69d7bf1cfaa46b..547ea4769de2d736c478a43ebd637a1d2e69f0ec 100644 (file)
@@ -215,7 +215,7 @@ private:
   bool m_disabled = false;
 };
 
-/* Implementation of is_debug_enabled when PT is an invokable type.  */
+/* Implementation of is_debug_enabled when PT is an invocable type.  */
 
 template<typename PT>
 inline bool
index 4f7ad36d8d625b9b0da2e54471a960c9e102a87b..64cdb1f42da9a10dcf4349249ac85a48b9afe59f 100644 (file)
@@ -81,7 +81,7 @@ struct file_handler
 
 #ifdef HAVE_POLL
 /* Do we use poll or select?  Some systems have poll, but then it's
-   not useable with all kinds of files.  We probe that whenever a new
+   not usable with all kinds of files.  We probe that whenever a new
    file handler is added.  */
 static bool use_poll = true;
 #endif