]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/testsuite] Fix gdbsever typo
authorTom de Vries <tdevries@suse.de>
Tue, 20 May 2025 09:05:54 +0000 (11:05 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 20 May 2025 09:05:54 +0000 (11:05 +0200)
I noticed a typo in the testsuite, twice: gdbsever.  Fix these.

Codespell doesn't detect it, so add a new file
gdb/contrib/codespell-dictionary.txt that contains a gdbsever->gdbserver
entry, and update gdb/contrib/setup.cfg to use it.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/contrib/codespell-dictionary.txt [new file with mode: 0644]
gdb/contrib/setup.cfg
gdb/testsuite/gdb.replay/connect.exp
gdb/testsuite/gdb.trace/tspeed.exp

diff --git a/gdb/contrib/codespell-dictionary.txt b/gdb/contrib/codespell-dictionary.txt
new file mode 100644 (file)
index 0000000..09bc309
--- /dev/null
@@ -0,0 +1 @@
+gdbsever->gdbserver
index d6be386a588139cd43908fce849843a83621311f..5541a0196ddeed4a9a22374f6390cfa8fbedb74f 100644 (file)
@@ -4,6 +4,7 @@
 skip = */ChangeLog*,*/configure,gdbsupport/Makefile.in,*.dat,*.eps,gdb/features/*.c,gdb/ada-casefold.h,gdb/copying.c,gdb/gdbarch-gen.h,gdb/gdbarch-gen.c,gdb/target-delegates-gen.c
 
 ignore-words = gdb/contrib/codespell-ignore-words.txt
+dictionary = gdb/contrib/codespell-dictionary.txt,-
 
 # Ignore all URLs.
 uri-ignore-words-list = *
index 5790d38a80b748f15578fbba19281da930302fb5..26b7aa3dfe7f12e6cea16a2606960425f1776679 100644 (file)
@@ -13,7 +13,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 #
-# Starts a communication with gdbsever setting the remotelog file.
+# Starts a communication with gdbserver setting the remotelog file.
 # Modifies the remotelog with update_log proc, injects an error message
 # instead of the expected replay to the vMustReplyEmpty packet in order
 # to test GDB reacts to the error response properly. After the remotelog
index 25862bfd28708d15da20d19b20b0d93162439a1a..be7f37e2e36df4b98e498ae50a25ef1d78d9c1cd 100644 (file)
@@ -17,7 +17,7 @@ load_lib "trace-support.exp"
 
 require allow_shlib_tests
 
-# Do not run if gdbsever debug is enabled - the output file is many Gb.
+# Do not run if gdbserver debug is enabled - the output file is many Gb.
 if [gdbserver_debug_enabled] {
     return 0
 }