aboutsummaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2024-10-06 07:59:48 +0200
committerTom de Vries <tdevries@suse.de>2024-10-06 07:59:48 +0200
commit67eca1ccc1ad5237403dc151eb91f5e506dea0c4 (patch)
treefd35fce4b34cd73e1d455c76d8de29abafd75f9d /gdb/eval.c
parent2e676da72d7dd98bbd9025de591e69179a613120 (diff)
downloadbinutils-67eca1ccc1ad5237403dc151eb91f5e506dea0c4.zip
binutils-67eca1ccc1ad5237403dc151eb91f5e506dea0c4.tar.gz
binutils-67eca1ccc1ad5237403dc151eb91f5e506dea0c4.tar.bz2
[gdb/contrib] Add spellcheck.sh
I came across a table containing common misspellings [1], and wrote a script to detect and correct these misspellings. The table also contains entries that have alternatives, like this: ... addres->address, adders ... and for those the script prints a TODO instead. The script downloads the webpage containing the table, extracts the table and caches it in .git/wikipedia-common-misspellings.txt to prevent downloading it over and over again. Example usage: ... $ gdb/contrib/spellcheck.sh gdb* ... ChangeLog files are silently skipped. Checked with shellcheck. Tested on x86_64-linux, by running it on the gdb* dirs on doing a build and test run. The results of running it are in the two following patches. Reviewed-By: Andrew Burgess <aburgess@redhat.com> Approved-By: Tom Tromey <tom@tromey.com> [1] https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines
Diffstat (limited to 'gdb/eval.c')
0 files changed, 0 insertions, 0 deletions