Make gdb/cli codespell-clean
Checks
Commit Message
This small fix makes gdb/cli codespell-clean.
---
.pre-commit-config.yaml | 2 +-
gdb/cli/cli-dump.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
base-commit: d1458933830456e54223d9fc61f0d9b3a19256f5
@@ -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|cli))/'
args: [--config, gdb/contrib/setup.cfg]
- repo: local
hooks:
@@ -397,7 +397,7 @@ restore_one_section (bfd *ibfd, asection *isec,
if (sec_end <= load_start
|| (load_end > 0 && sec_start >= load_end))
{
- /* No, no useable data in this section. */
+ /* No, no usable data in this section. */
gdb_printf (_("skipping section %s...\n"),
bfd_section_name (isec));
return;