aboutsummaryrefslogtreecommitdiff
path: root/gdbsupport
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2025-03-27 17:53:52 +0100
committerTom de Vries <tdevries@suse.de>2025-03-27 17:53:52 +0100
commita7a38dba7f4fbd9e9c8dd4e739d42ef8a36fb49a (patch)
tree7a7cc60bb48f4c8615986873e82bdd791760e5d2 /gdbsupport
parent08ed5584d871a1d3fee92917805bda86ce45fac9 (diff)
downloadbinutils-a7a38dba7f4fbd9e9c8dd4e739d42ef8a36fb49a.zip
binutils-a7a38dba7f4fbd9e9c8dd4e739d42ef8a36fb49a.tar.gz
binutils-a7a38dba7f4fbd9e9c8dd4e739d42ef8a36fb49a.tar.bz2
[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
Diffstat (limited to 'gdbsupport')
-rw-r--r--gdbsupport/common-debug.h2
-rw-r--r--gdbsupport/event-loop.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdbsupport/common-debug.h b/gdbsupport/common-debug.h
index f7c8d81..547ea47 100644
--- a/gdbsupport/common-debug.h
+++ b/gdbsupport/common-debug.h
@@ -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
diff --git a/gdbsupport/event-loop.cc b/gdbsupport/event-loop.cc
index 4f7ad36..64cdb1f 100644
--- a/gdbsupport/event-loop.cc
+++ b/gdbsupport/event-loop.cc
@@ -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