[PATCH 00/10] [gdb] Fix typos and misspellings

Tom de Vries tdevries@suse.de
Fri Jun 2 15:56:29 GMT 2023


I went looking for typos and misspellings to fix.

I've used the gdb/contrib/words.sh script, as well as a few websites listing
common misspellings.

I came across one instance of a misspelling in a variable name, I've fixed
that in a separate patch.

I also came across a few typos in user-visible strings, I've submitted
those separately as well.

I also noticed misspellings in debug messages, they're also in separate
patches.

In gdb/NEWS I came across "publically", which according to the wiktionary is a
rare spelling of publicly, so I've left that in.

Tested on x86_64-linux.

Tom de Vries (10):
  [gdb/ada] Fix argument name misspelling
  [gdbserver] Fix typo in debug message
  [gdb/compile] Fix typo in debug message
  [gdb/cli] Fix help text of maint set ignore-prologue-end-flag
  [gdb/cli] Fix help text of maint info target-sections
  [gdb/tui] Fix help text of show tui tab-width
  [gdb/guile] Fix doc string for value-optimized-out?
  [gdb/python] Fix doc string of valpy_const_value
  [gdb/tdep] Fix typo in debug message
  [gdb] Fix typos

 gdb/README                                    |  2 +-
 gdb/aarch64-tdep.c                            |  2 +-
 gdb/ada-lang.c                                |  6 +++---
 gdb/ada-tasks.c                               |  2 +-
 gdb/ada-typeprint.c                           | 20 +++++++++----------
 gdb/ada-valprint.c                            |  2 +-
 gdb/alpha-bsd-tdep.c                          |  2 +-
 gdb/amd-dbgapi-target.c                       |  2 +-
 gdb/amd64-tdep.c                              |  2 +-
 gdb/arch-utils.c                              |  2 +-
 gdb/arch-utils.h                              |  2 +-
 gdb/arm-linux-tdep.c                          |  2 +-
 gdb/avr-tdep.c                                |  8 ++++----
 gdb/breakpoint.c                              |  2 +-
 gdb/bsd-uthread.c                             |  2 +-
 gdb/build-id.c                                |  2 +-
 gdb/c-varobj.c                                |  2 +-
 gdb/coff-pe-read.c                            |  2 +-
 gdb/command.h                                 |  2 +-
 gdb/compile/compile-object-load.c             |  2 +-
 gdb/cp-support.h                              |  2 +-
 gdb/csky-tdep.c                               |  2 +-
 gdb/dbxread.c                                 |  2 +-
 gdb/doc/gdb.texinfo                           | 10 +++++-----
 gdb/doc/guile.texi                            |  2 +-
 gdb/doc/python.texi                           |  6 +++---
 gdb/dwarf2/line-header.h                      |  2 +-
 gdb/dwarf2/read.c                             |  6 +++---
 gdb/features/rs6000/powerpc-601.xml           |  2 +-
 gdb/features/rs6000/rs6000.xml                |  4 ++--
 gdb/frame.h                                   |  4 ++--
 gdb/gcore-elf.h                               |  2 +-
 gdb/gdbarch.h                                 |  4 ++--
 gdb/gdbcmd.h                                  |  2 +-
 gdb/gdbtypes.h                                |  4 ++--
 gdb/gmp-utils.c                               |  4 ++--
 gdb/gnu-nat.c                                 |  4 ++--
 gdb/guile/scm-param.c                         |  2 +-
 gdb/guile/scm-value.c                         |  2 +-
 gdb/i386-tdep.c                               |  2 +-
 gdb/i386-tdep.h                               |  4 ++--
 gdb/ia64-tdep.h                               |  2 +-
 gdb/infcall.c                                 |  2 +-
 gdb/interps.h                                 |  2 +-
 gdb/language.h                                |  2 +-
 gdb/m2-lang.c                                 |  2 +-
 gdb/macroexp.h                                |  2 +-
 gdb/macrotab.h                                |  2 +-
 gdb/maint.c                                   |  2 +-
 gdb/make-target-delegates.py                  |  2 +-
 gdb/mdebugread.c                              |  2 +-
 gdb/mi/mi-common.h                            |  2 +-
 gdb/microblaze-tdep.c                         |  2 +-
 gdb/mips-tdep.c                               |  4 ++--
 gdb/namespace.h                               |  2 +-
 gdb/nat/aarch64-hw-point.c                    |  2 +-
 gdb/nat/linux-osdata.c                        |  2 +-
 gdb/nat/linux-ptrace.c                        |  2 +-
 gdb/or1k-linux-tdep.c                         |  2 +-
 gdb/ppc-linux-nat.c                           |  4 ++--
 gdb/python/py-value.c                         |  2 +-
 gdb/python/python.c                           |  2 +-
 gdb/remote.c                                  |  4 ++--
 gdb/rs6000-aix-nat.c                          |  2 +-
 gdb/rs6000-aix-tdep.c                         |  2 +-
 gdb/rs6000-tdep.c                             |  2 +-
 gdb/ser-mingw.c                               |  4 ++--
 gdb/solib-svr4.c                              |  6 +++---
 gdb/stubs/m32r-stub.c                         |  2 +-
 gdb/stubs/m68k-stub.c                         |  2 +-
 gdb/stubs/sh-stub.c                           |  2 +-
 gdb/stubs/z80-stub.c                          |  4 ++--
 gdb/symfile.c                                 |  2 +-
 gdb/symtab.c                                  |  2 +-
 gdb/target.h                                  |  2 +-
 gdb/target/waitstatus.h                       |  2 +-
 gdb/testsuite/gdb.arch/e500-regs.exp          |  2 +-
 gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c |  2 +-
 .../gdb.base/all-architectures.exp.tcl        |  2 +-
 gdb/testsuite/gdb.base/bigcore.c              |  2 +-
 gdb/testsuite/gdb.base/break-always.exp       |  2 +-
 gdb/testsuite/gdb.base/call-ar-st.c           |  2 +-
 gdb/testsuite/gdb.base/default.exp            |  2 +-
 gdb/testsuite/gdb.base/exitsignal.exp         |  2 +-
 .../gdb.base/fork-print-inferior-events.exp   |  2 +-
 gdb/testsuite/gdb.base/scope0.c               |  2 +-
 .../gdb.base/whatis-ptype-typedefs.exp        |  2 +-
 gdb/testsuite/gdb.cp/cpexprs.cc               |  2 +-
 gdb/testsuite/gdb.cp/oranking.cc              |  6 +++---
 gdb/testsuite/gdb.fortran/array-slices.exp    |  2 +-
 gdb/testsuite/gdb.multi/multi-arch-exec.exp   |  2 +-
 gdb/testsuite/gdb.python/py-shared.exp        |  4 ++--
 gdb/testsuite/gdb.python/py-xmethods.cc       |  2 +-
 gdb/testsuite/gdb.python/python.exp           |  2 +-
 .../gdb.threads/thread-specific-bp.exp        |  2 +-
 gdb/testsuite/lib/completion-support.exp      |  4 ++--
 gdb/testsuite/lib/gdb.exp                     |  2 +-
 gdb/testsuite/lib/prelink-support.exp         |  4 ++--
 gdb/testsuite/lib/read1.c                     |  2 +-
 gdb/tui/tui-regs.c                            |  2 +-
 gdb/tui/tui-win.c                             |  2 +-
 gdb/tui/tui-wingeneral.c                      |  2 +-
 gdb/tui/tui-winsource.c                       |  2 +-
 gdb/tui/tui.c                                 |  2 +-
 gdb/typeprint.h                               |  2 +-
 gdb/unittests/gmp-utils-selftests.c           |  2 +-
 gdb/unittests/vec-utils-selftests.c           |  2 +-
 gdb/valops.c                                  |  2 +-
 gdb/varobj.c                                  |  2 +-
 gdb/xtensa-tdep.c                             |  4 ++--
 gdb/z80-tdep.c                                |  2 +-
 gdbserver/ax.cc                               |  2 +-
 gdbserver/inferiors.h                         |  2 +-
 gdbserver/linux-aarch64-low.cc                |  2 +-
 gdbserver/linux-arc-low.cc                    |  2 +-
 gdbserver/linux-csky-low.cc                   |  2 +-
 gdbserver/linux-ppc-low.cc                    |  2 +-
 gdbserver/mem-break.cc                        |  2 +-
 gdbserver/remote-utils.cc                     |  2 +-
 gdbserver/server.cc                           |  2 +-
 gdbserver/server.h                            |  2 +-
 gdbserver/tracepoint.cc                       |  2 +-
 gdbserver/win32-low.cc                        |  2 +-
 gdbsupport/common-defs.h                      |  2 +-
 gdbsupport/common-exceptions.cc               |  2 +-
 gdbsupport/enum-flags.h                       |  4 ++--
 gdbsupport/filestuff.cc                       |  2 +-
 gdbsupport/gdb_signals.h                      |  2 +-
 gdbsupport/packed.h                           |  2 +-
 gdbsupport/pathstuff.cc                       |  2 +-
 gdbsupport/reference-to-pointer-iterator.h    |  2 +-
 gdbsupport/scoped_ignore_sigttou.h            |  2 +-
 gdbsupport/signals.cc                         |  2 +-
 133 files changed, 176 insertions(+), 176 deletions(-)


base-commit: 21b9239b70d870b155284bf508cdf5401f37e2f5
-- 
2.35.3



More information about the Gdb-patches mailing list