From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [PATCH 3/3] [gdb/contrib] Add "doens't->doesn't" to common-misspellings.txt
Date: Tue, 12 Nov 2024 17:07:52 +0100 [thread overview]
Message-ID: <20241112160752.27661-4-tdevries@suse.de> (raw)
In-Reply-To: <20241112160752.27661-1-tdevries@suse.de>
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.
---
gdb/contrib/common-misspellings.txt | 1 +
gdb/testsuite/gdb.ada/str_chars.exp | 2 +-
gdb/testsuite/gdb.dwarf2/dw2-bad-elf.exp | 4 ++--
gdb/testsuite/lib/tuiterm.exp | 2 +-
4 files changed, 5 insertions(+), 4 deletions(-)
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
--
2.35.3
next prev parent reply other threads:[~2024-11-12 16:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-12 16:07 [PATCH 0/3] [gdb/contrib] A few improvements for spellcheck.sh Tom de Vries
2024-11-12 16:07 ` [PATCH 1/3] [gdb/contrib] Handle parentheses in spellcheck.sh Tom de Vries
2024-11-12 16:07 ` [PATCH 2/3] [gdb/contrib] Handle double quotes " Tom de Vries
2024-11-12 16:07 ` Tom de Vries [this message]
2024-11-13 19:40 ` [PATCH 0/3] [gdb/contrib] A few improvements for spellcheck.sh Kevin Buettner
2024-11-13 20:07 ` Tom de Vries
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241112160752.27661-4-tdevries@suse.de \
--to=tdevries@suse.de \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox