Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [pushed] [gdb] Fix some typos
Date: Wed, 25 Nov 2026 17:08:40 +0100	[thread overview]
Message-ID: <20261125160840.2157814-1-tdevries@suse.de> (raw)

Fix some typos:
- should server -> should serve
- would takes us -> would take us
- to makes sense -> to make sense
- doesn't exists -> doesn't exist
- does not exists -> does not exist
- to gets things -> to get things
---
 gdb/arc-tdep.c                                          | 2 +-
 gdb/dwarf2/aranges.c                                    | 2 +-
 gdb/infrun.c                                            | 2 +-
 gdb/sol-thread.c                                        | 2 +-
 gdb/testsuite/gdb.multi/multi-target-ping-pong-next.exp | 2 +-
 gdb/testsuite/lib/debuginfod-support.exp                | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/gdb/arc-tdep.c b/gdb/arc-tdep.c
index 4936a5c8fbb..4906b25ed2a 100644
--- a/gdb/arc-tdep.c
+++ b/gdb/arc-tdep.c
@@ -1972,7 +1972,7 @@ arc_arch_features_create (const bfd *abfd, const unsigned long mach)
 
   /* Try to guess the features parameters by looking at the binary to be
      executed.  If the user is providing a binary that does not match the
-     target, then tough luck.  This is the last effort to makes sense of
+     target, then tough luck.  This is the last effort to make sense of
      what's going on.  */
   if (abfd != nullptr && bfd_get_flavour (abfd) == bfd_target_elf_flavour)
     {
diff --git a/gdb/dwarf2/aranges.c b/gdb/dwarf2/aranges.c
index 9b5143a051f..2136653815a 100644
--- a/gdb/dwarf2/aranges.c
+++ b/gdb/dwarf2/aranges.c
@@ -115,7 +115,7 @@ read_addrmap_from_aranges (dwarf2_per_objfile *per_objfile,
       if (per_cu_it == debug_info_offset_to_per_cu.cend ())
 	{
 	  warn->warn (_("Section .debug_aranges in %ps entry at offset %s "
-			"debug_info_offset %s does not exists, "
+			"debug_info_offset %s does not exist, "
 			"ignoring .debug_aranges."),
 		      styled_string (file_name_style.style (),
 				     objfile_name (objfile)),
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 8f02c49cbcb..82c685583ec 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -2994,7 +2994,7 @@ resume_1 (enum gdb_signal sig)
 	 where we should _always_ single-step, even if we have a
 	 step-resume breakpoint, like when a software watchpoint is
 	 set.  Assuming single-stepping and delivering a signal at the
-	 same time would takes us to the signal handler, then we could
+	 same time would take us to the signal handler, then we could
 	 have removed the breakpoint at PC to step over it.  However,
 	 some hardware step targets (like e.g., Mac OS) can't step
 	 into signal handlers, and for those, we need to leave the
diff --git a/gdb/sol-thread.c b/gdb/sol-thread.c
index 8151f7e3a56..25bf8badcc1 100644
--- a/gdb/sol-thread.c
+++ b/gdb/sol-thread.c
@@ -327,7 +327,7 @@ thread_to_lwp (ptid_t thread_id, int default_lwp)
 }
 
 /* Convert an LWP ID into a POSIX or Solaris thread ID.  If LWP_ID
-   doesn't exists, that's an error.
+   doesn't exist, that's an error.
 
    NOTE: This function probably shouldn't call error().  */
 
diff --git a/gdb/testsuite/gdb.multi/multi-target-ping-pong-next.exp b/gdb/testsuite/gdb.multi/multi-target-ping-pong-next.exp
index ec2b6272f68..d6c8b510cb1 100644
--- a/gdb/testsuite/gdb.multi/multi-target-ping-pong-next.exp
+++ b/gdb/testsuite/gdb.multi/multi-target-ping-pong-next.exp
@@ -45,7 +45,7 @@ proc test_ping_pong_next {} {
 
     # Set two breakpoints, one for each of inferior 1 and 2.  Inferior
     # 1 is running on the native target, and inferior 2 is running on
-    # extended-gdbserver.  Run to breakpoint 1 to gets things started.
+    # extended-gdbserver.  Run to breakpoint 1 to get things started.
     set line1 [gdb_get_line_number "set break 1 here"]
     set line2 [gdb_get_line_number "set break 2 here"]
 
diff --git a/gdb/testsuite/lib/debuginfod-support.exp b/gdb/testsuite/lib/debuginfod-support.exp
index 1d11c5bea8b..23f8fea7495 100644
--- a/gdb/testsuite/lib/debuginfod-support.exp
+++ b/gdb/testsuite/lib/debuginfod-support.exp
@@ -116,7 +116,7 @@ proc with_debuginfod_env { cache body } {
 
 # Start a debuginfod server.  DB is the directory to use for the server's
 # database cache, while DEBUGDIR is a directory containing all the debug
-# information that the server should server.
+# information that the server should serve.
 #
 # This proc will try to find an available port to start the server on, will
 # start the server, and check that the server has started correctly.

base-commit: a2c327f8de1e2ba754e71e3ccc963a9b323e5c7b
-- 
2.51.0


             reply	other threads:[~2026-11-25 16:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 16:08 Tom de Vries [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-18  6:36 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=20261125160840.2157814-1-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