From: Tom de Vries Date: Wed, 13 Nov 2024 20:06:58 +0000 (+0100) Subject: [gdb/contrib] Add "doens't->doesn't" to common-misspellings.txt X-Git-Tag: gdb-16-branchpoint~436 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=74b9033e6f79dcc4947af7756c6e2aed96986504;p=thirdparty%2Fbinutils-gdb.git [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 --- diff --git a/gdb/contrib/common-misspellings.txt b/gdb/contrib/common-misspellings.txt index 62e2c510ae3..23a43461fb1 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 951ee9765a9..6d494d3ee2c 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 63d83fb9416..c678c209473 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 25f597b56fb..0c4e3d10003 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