[gdb/contrib] Drop two words from codespell-ignore-words.txt

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
This commit is contained in:
Tom de Vries
2025-03-27 17:53:52 +01:00
parent 08ed5584d8
commit a7a38dba7f
3 changed files with 2 additions and 4 deletions

View 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

View 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