From: Tom Tromey Date: Thu, 10 Apr 2025 15:01:06 +0000 (-0600) Subject: Minor spelling fixes in gdb directory X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1305119a7ef3d19b7d868093b7b6b6a6c4f21c19;p=thirdparty%2Fbinutils-gdb.git Minor spelling fixes in gdb directory 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 --- diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS index 5e1aada4be1..28184bde364 100644 --- a/gdb/MAINTAINERS +++ b/gdb/MAINTAINERS @@ -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 diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 285a00b0f20..1b867666991 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -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 \ diff --git a/gdb/NEWS b/gdb/NEWS index e0313bb37df..a2ebf12a636 100644 --- 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. diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index 54500568232..708f9ecc01b 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -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 diff --git a/gdb/configure b/gdb/configure index 5ee198285b8..683fcaef9fe 100755 --- a/gdb/configure +++ b/gdb/configure @@ -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) . + # -ldl is provided by bfd/Makefile.am (LIBDL) . 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; } diff --git a/gdb/configure.ac b/gdb/configure.ac index 5870a618349..052d0319a04 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -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) . + # -ldl is provided by bfd/Makefile.am (LIBDL) . if test "$plugins" = "yes"; then AC_SEARCH_LIBS(dlopen, dl) fi diff --git a/gdb/contrib/ari/create-web-ari-in-src.sh b/gdb/contrib/ari/create-web-ari-in-src.sh index 4ea0398fb4b..b479ce51081 100644 --- a/gdb/contrib/ari/create-web-ari-in-src.sh +++ b/gdb/contrib/ari/create-web-ari-in-src.sh @@ -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 diff --git a/gdb/contrib/ari/gdb_ari.sh b/gdb/contrib/ari/gdb_ari.sh index f539ed1a92b..e10bbe02326 100755 --- a/gdb/contrib/ari/gdb_ari.sh +++ b/gdb/contrib/ari/gdb_ari.sh @@ -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 ": " diff --git a/gdb/contrib/ari/update-web-ari.sh b/gdb/contrib/ari/update-web-ari.sh index 6e7b5ff5448..b9ef18471a9 100644 --- a/gdb/contrib/ari/update-web-ari.sh +++ b/gdb/contrib/ari/update-web-ari.sh @@ -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 "" - # 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 " ", bug printf " ", i2bug[bug_i-1] @@ -851,7 +851,7 @@ EOF print_toc 0 -1 deprecate Deprecate <