]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Minor spelling fixes in gdb directory
authorTom Tromey <tromey@adacore.com>
Thu, 10 Apr 2025 15:01:06 +0000 (09:01 -0600)
committerTom Tromey <tromey@adacore.com>
Wed, 21 May 2025 16:22:45 +0000 (10:22 -0600)
I ran codespell on the gdb directory and fixed a number of minor
problems.  In a couple cases I replaced a "gdb spelling" (e.g.,
"readin") with an English one ("reading") where it seemed harmless.

I also added "Synopsis" as an accepted spelling.

gdb is nowhere near codespell-clean.

Approved-By: Tom de Vries <tdevries@suse.de>
14 files changed:
gdb/MAINTAINERS
gdb/Makefile.in
gdb/NEWS
gdb/arm-tdep.c
gdb/configure
gdb/configure.ac
gdb/contrib/ari/create-web-ari-in-src.sh
gdb/contrib/ari/gdb_ari.sh
gdb/contrib/ari/update-web-ari.sh
gdb/contrib/codespell-ignore-words.txt
gdb/gcore-1.in
gdb/gdb-gdb.py.in
gdb/gdb-stabs.h
gdb/gdb_buildall.sh

index 5e1aada4be1f4d3eca8a772c7d53ef647a59cbca..28184bde3643163c287daeb760b28716a7a029e2 100644 (file)
@@ -492,7 +492,7 @@ sim/                        See sim/MAINTAINERS
 
 readline/              Master version: ftp://ftp.cwru.edu/pub/bash/
                        ALL
-                       Host maintainers (host dependant parts)
+                       Host maintainers (host dependent parts)
                        (but get your changes into the master version)
 
 tcl/ tk/ itcl/         ALL
index 285a00b0f207d89fa33a8f99c432c671a224c61b..1b86766699157b759140a39bc63258830198e958 100644 (file)
@@ -265,7 +265,7 @@ INCSUPPORT = \
        -I..
 
 #
-# CLI sub directory definitons
+# CLI sub directory definitions
 #
 SUBDIR_CLI_SRCS = \
        cli/cli-cmds.c \
@@ -282,7 +282,7 @@ SUBDIR_CLI_SRCS = \
 SUBDIR_CLI_OBS = $(patsubst %.c,%.o,$(SUBDIR_CLI_SRCS))
 
 #
-# MI sub directory definitons
+# MI sub directory definitions
 #
 SUBDIR_MI_SRCS = \
        mi/mi-cmd-break.c \
@@ -350,7 +350,7 @@ SUBDIR_GCC_COMPILE_SRCS = \
 SUBDIR_GCC_COMPILE_OBS = $(patsubst %.c,%.o,$(filter %.c,$(SUBDIR_GCC_COMPILE_SRCS)))
 
 #
-# Guile sub directory definitons for guile support.
+# Guile sub directory definitions for guile support.
 #
 SUBDIR_GUILE_SRCS = \
        guile/guile.c \
@@ -387,7 +387,7 @@ SUBDIR_GUILE_LDFLAGS =
 SUBDIR_GUILE_CFLAGS =
 
 #
-# python sub directory definitons
+# python sub directory definitions
 #
 SUBDIR_PYTHON_SRCS = \
        python/py-arch.c \
index e0313bb37dfbd55465003c627b54c74382e3402d..a2ebf12a636de15f5b0371f8ae86a4de24e2994a 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -7570,7 +7570,7 @@ for DW_OP_piece is still missing).
 
 A number of long standing bugs that caused GDB to die while starting a
 Java application have been fixed.  GDB's Java support is now
-considered "useable".
+considered "usable".
 
 * GNU/Linux support for fork, vfork, and exec.
 
index 54500568232eb575232c54bbc171e3f154897fc6..708f9ecc01b36e443640189a9ef69d42a33aa98e 100644 (file)
@@ -1669,7 +1669,7 @@ arm_analyze_load_stack_chk_guard(CORE_ADDR pc, struct gdbarch *gdbarch,
 
        ldr     Rn, .Label
        ....
-       .Lable:
+       .Label:
        .word   __stack_chk_guard
 
    Since ldr/str is a very popular instruction, we can't use them as
index 5ee198285b8b80c282f5c58a7ffe433e544a55c7..683fcaef9fe47089204644741e136ba70eb0d9d5 100755 (executable)
@@ -31616,7 +31616,7 @@ if test "$gdb_cv_var_elf" = yes; then
 
 $as_echo "#define HAVE_ELF 1" >>confdefs.h
 
-  # -ldl is provided by bfd/Makfile.am (LIBDL) <PLUGINS>.
+  # -ldl is provided by bfd/Makefile.am (LIBDL) <PLUGINS>.
   if test "$plugins" = "yes"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
 $as_echo_n "checking for library containing dlopen... " >&6; }
index 5870a61834998488d508cf49c97b8fc780026dc0..052d0319a044c092aadeb2a89884d21adeedfae2 100644 (file)
@@ -1922,7 +1922,7 @@ if test "$gdb_cv_var_elf" = yes; then
                gcore-elf.o elf-none-tdep.o"
   AC_DEFINE(HAVE_ELF, 1,
            [Define if ELF support should be included.])
-  # -ldl is provided by bfd/Makfile.am (LIBDL) <PLUGINS>.
+  # -ldl is provided by bfd/Makefile.am (LIBDL) <PLUGINS>.
   if test "$plugins" = "yes"; then
     AC_SEARCH_LIBS(dlopen, dl)
   fi
index 4ea0398fb4ba3164ebed7ea4bce5dd76b7364254..b479ce51081c801234c5299ba5b12a2fb7b42fd8 100644 (file)
@@ -50,7 +50,7 @@ if [ -z "${tempdir}" ] ; then
   fi
 fi
 
-# Default location of generate index.hmtl web page.
+# Default location of generated index.html web page.
 if [ -z "${webdir}" ] ; then
 # Use 'branch' subdir name if Tag contains branch
   if [ -f "${srcdir}/gdb/CVS/Tag" ] ; then
index f539ed1a92b90c6c3bf2446aa6193e998f2758fa..e10bbe0232667eed937f552b35d4d8018a215819 100755 (executable)
@@ -60,7 +60,7 @@ Options:
   -Werror        Treat all problems as errors.
   -Wall          Report all problems.
   -Wari          Report problems that should be fixed in new code.
-  -WCATEGORY     Report problems in the specifed category.  The category
+  -WCATEGORY     Report problems in the specified category.  The category
                  can be prefixed with "no-".  Valid categories
                  are: ${all}
 EOF
@@ -159,7 +159,7 @@ BEGIN {
     PWD = "'`pwd`'"
 }
 
-# Print the error message for BUG.  Append SUPLEMENT if non-empty.
+# Print the error message for BUG.  Append SUPPLEMENT if non-empty.
 function print_bug(file,line,prefix,category,bug,doc,supplement, suffix,idx) {
     if (print_idx) {
        idx = bug ": "
index 6e7b5ff5448f6bb44f402867b35f0287fcbfe92d..b9ef18471a9aa11e4733a870d307b37257872b4e 100644 (file)
@@ -176,7 +176,7 @@ fi
 # THIS HAS SUFFERED BIT ROT
 if ${check_indent_p} && test -d "${srcdir}"
 then
-    printf "Analizing file indentation:" 1>&2
+    printf "Analyzing file indentation:" 1>&2
     ( cd "${srcdir}" && /bin/sh ${aridir}/gdb_find.sh ${project} | while read f
     do
        if /bin/sh ${aridir}/gdb_indent.sh < ${f} 2>/dev/null | cmp -s - ${f}
@@ -550,7 +550,7 @@ function print_heading (nb_file, where, bug_i) {
     for (bug_i = 1; bug_i <= nr_bug; bug_i++) {
        bug = i2bug[bug_i];
        printf "<th>"
-       # The title names are offset by one.  Otherwize, when the browser
+       # The title names are offset by one.  Otherwise, when the browser
        # jumps to the name it leaves out half the relevant column.
        #printf "<a name=\",%s\">&nbsp;</a>", bug
        printf "<a name=\",%s\">&nbsp;</a>", i2bug[bug_i-1]
@@ -851,7 +851,7 @@ EOF
     print_toc 0 -1 deprecate Deprecate <<EOF
 Mechanisms that are a candidate for being made obsolete.  Once core
 GDB no longer depends on these mechanisms and/or there is a
-replacement available, these mechanims can be deprecated (adding the
+replacement available, these mechanisms can be deprecated (adding the
 deprecated prefix) obsoleted (put into category obsolete) or deleted.
 See obsolete and deprecated.
 EOF
index 2d6e13af68368336a0e55ef80bfa3b06162014af..881b1d206e5289f4a7783e1b8df8f6f098688f5f 100644 (file)
@@ -1,2 +1,3 @@
 configury
 SME
+Synopsys
index 1220f4a641b1b7ec83c803f890a888f87886f4af..2f6eb02557a8ad45a568ede6edbf5fdbf8b7658c 100644 (file)
@@ -34,11 +34,11 @@ data_directory_opt=()
 
 function print_usage() {
     prefix="Usage: $0"
-    paddin=$(printf '%*s' ${#prefix})
+    padding=$(printf '%*s' ${#prefix})
 
     echo "$prefix [-h|--help] [-v|--version]"
-    echo "$paddin [-a] [-o prefix] [-d data-directory]"
-    echo "$paddin pid1 [pid2...pidN]"
+    echo "$padding [-a] [-o prefix] [-d data-directory]"
+    echo "$padding pid1 [pid2...pidN]"
 }
 
 function print_try_help() {
index 4d96235b4b3b64aa72eb1d23edf3ced250375494..b989348400ec49eded01bb13f0cbbcd974f0dfff 100644 (file)
@@ -122,7 +122,7 @@ class StructTypePrettyPrinter:
 
 
 class StructMainTypePrettyPrinter:
-    """Pretty-print an objet of type main_type"""
+    """Pretty-print an object of type main_type"""
 
     def __init__(self, val):
         self.val = val
index 2f3a0a5a06d50d131757332ab08c2edef12ff2f5..9909129577342dd22f9e2e69dcfaad538fce313b 100644 (file)
@@ -20,9 +20,9 @@
 #ifndef GDB_GDB_STABS_H
 #define GDB_GDB_STABS_H
 
-/* During initial symbol readin, we need to have a structure to keep
+/* During initial symbol reading, we need to have a structure to keep
    track of which psymtabs have which bincls in them.  This structure
-   is used during readin to setup the list of dependencies within each
+   is used during reading to setup the list of dependencies within each
    partial symbol table.  */
 struct legacy_psymtab;
 
index 430aae4ab87ac695db5ff847200dd856d77823f3..2053333954727b75458e75ef1beb6ad6cb5a18b7 100644 (file)
@@ -261,7 +261,7 @@ echo "done."
 # Clean up build directory if necessary.
 if ${clean}
 then
-  echo "cleanning up $dir"
+  echo "cleaning up $dir"
   rm -rf ${dir}
 fi