mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-04-12 14:33:06 +08:00
[gdb/cli] Fix typo in cli-dump.c
Fix the folowing typo: ... $ codespell --config gdb/contrib/setup.cfg gdb/cli gdb/cli/cli-dump.c:400: useable ==> usable ... and add gdb/cli to the pre-commit codespell configuration. Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
parent
99d0bac09b
commit
fd152d90be
@ -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|config|unittests))/'
|
||||
files: '^(gdbsupport|gdbserver|gdb/(tui|target|data-directory|po|system-gdbinit|mi|syscalls|arch|regformats|compile|python|guile|config|unittests|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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user