aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2024-11-13 21:06:58 +0100
committerTom de Vries <tdevries@suse.de>2024-11-13 21:06:58 +0100
commit74b9033e6f79dcc4947af7756c6e2aed96986504 (patch)
treecaf1ec65f695aa714d138ed56a0e52fec9112860
parentee126995f5032b61deebd278d3c248a6c2270fb8 (diff)
downloadbinutils-74b9033e6f79dcc4947af7756c6e2aed96986504.zip
binutils-74b9033e6f79dcc4947af7756c6e2aed96986504.tar.gz
binutils-74b9033e6f79dcc4947af7756c6e2aed96986504.tar.bz2
[gdb/contrib] Add "doens't->doesn't" to common-misspellings.txt
Add "doens't->doesn't" to gdb/contrib/common-misspellings.txt, and run gdb/contrib/spellcheck.sh to fix this in a few files. Tested on x86_64-linux. Approved-by: Kevin Buettner <kevinb@redhat.com>
-rw-r--r--gdb/contrib/common-misspellings.txt1
-rw-r--r--gdb/testsuite/gdb.ada/str_chars.exp2
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-bad-elf.exp4
-rw-r--r--gdb/testsuite/lib/tuiterm.exp2
4 files changed, 5 insertions, 4 deletions
diff --git a/gdb/contrib/common-misspellings.txt b/gdb/contrib/common-misspellings.txt
index 62e2c51..23a4346 100644
--- a/gdb/contrib/common-misspellings.txt
+++ b/gdb/contrib/common-misspellings.txt
@@ -16,3 +16,4 @@
inbetween->between, in between, in-between
sofar->so far
+doens't->doesn't
diff --git a/gdb/testsuite/gdb.ada/str_chars.exp b/gdb/testsuite/gdb.ada/str_chars.exp
index 951ee97..6d494d3 100644
--- a/gdb/testsuite/gdb.ada/str_chars.exp
+++ b/gdb/testsuite/gdb.ada/str_chars.exp
@@ -57,7 +57,7 @@ gdb_test "print Arg" \
# The 'set print elements' command used to control printing of characters
# in a string, before we created 'set print characters'. This test makes
-# sure that 'set print elements' doens't effect string printing any more.
+# sure that 'set print elements' doesn't effect string printing any more.
gdb_test_no_output "set print elements 12"
gdb_test "print Arg" \
" = \"abcdefghijklmnopqrstuvwxyz\"" \
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-bad-elf.exp b/gdb/testsuite/gdb.dwarf2/dw2-bad-elf.exp
index 63d83fb..c678c20 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-bad-elf.exp
+++ b/gdb/testsuite/gdb.dwarf2/dw2-bad-elf.exp
@@ -123,7 +123,7 @@ Dwarf::assemble $asm_file {
include_dir "${srcdir}/${subdir}"
file_name "$srcfile" 1
- # Line data doens't need to be correct, just present.
+ # Line data doesn't need to be correct, just present.
program {
DW_LNE_set_address [lindex $main_result 0]
DW_LNS_advance_line 10
@@ -142,7 +142,7 @@ Dwarf::assemble $asm_file {
include_dir "${srcdir}/${subdir}"
file_name "dw2-bad-elf-other.c" 1
- # Line data doens't need to be correct, just present.
+ # Line data doesn't need to be correct, just present.
program {
DW_LNE_set_address some_func
DW_LNS_advance_line 5
diff --git a/gdb/testsuite/lib/tuiterm.exp b/gdb/testsuite/lib/tuiterm.exp
index 25f597b..0c4e3d1 100644
--- a/gdb/testsuite/lib/tuiterm.exp
+++ b/gdb/testsuite/lib/tuiterm.exp
@@ -1178,7 +1178,7 @@ namespace eval Term {
}
# Check the contents of a box on the screen. This is a little
- # like check_contents, but doens't check the whole screen
+ # like check_contents, but doesn't check the whole screen
# contents, only the contents of a single box. This procedure
# includes (effectively) a call to check_box to ensure there is a
# box where expected, if there is then the contents of the box are