Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [pushed 1/3] [gdb] Fix some typos
@ 2026-09-03  5:47 Tom de Vries
  2026-09-03  5:47 ` [pushed 2/3] [gdb] Fix double words Tom de Vries
  2026-09-03  5:47 ` [pushed 3/3] [gdb] Fix dont -> don't typo Tom de Vries
  0 siblings, 2 replies; 3+ messages in thread
From: Tom de Vries @ 2026-09-03  5:47 UTC (permalink / raw)
  To: gdb-patches

Fix three typos I found running:
...
$ ./gdb/contrib/words.sh \
      -c \
      $(find gdb -type f -name "*.c" -o -name "*.h" -o -name "*.cc") \
      | codespell -
...
---
 gdb/procfs.c      | 2 +-
 gdb/rs6000-tdep.c | 2 +-
 gdb/tracepoint.c  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gdb/procfs.c b/gdb/procfs.c
index bbee28bbc5e..615b92006a8 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -891,7 +891,7 @@ proc_wait_for_stop (procinfo *pi)
 
   clear_sigint_trap ();
 
-  /* We been runnin' and we stopped -- need to update status.  */
+  /* We've been running and we stopped -- need to update status.  */
   pi->status_valid = 0;
 
   return win;
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index e7d1ec07c97..05a4f1a371c 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -697,7 +697,7 @@ insn_changes_sp_or_jumps (unsigned long insn)
 
   /* NOTE: There are many ways to change the value of a given register.
 	   The ways below are those used when the register is R1, the SP,
-	   in a funtion's epilogue.  */
+	   in a function's epilogue.  */
 
   if (opcode == 31 && subcode == 444 && a == 1)
     return 1;  /* mr R1,Rn */
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index 932a8f557e4..bedeb293366 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -873,7 +873,7 @@ collection_list::add_local_register (struct gdbarch *gdbarch,
 
       add_ax_registers (aexpr.get ());
 
-      /* Usually ax_reg_mask for a pseudo-regiser only sets the
+      /* Usually ax_reg_mask for a pseudo-register only sets the
 	 corresponding raw registers in the ax mask, but if this isn't
 	 the case add the expression that is generated to the
 	 collection list.  */

base-commit: 1c948f2e10ecde66b0ee0bb77519e272a660e906
-- 
2.51.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-03  5:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-03  5:47 [pushed 1/3] [gdb] Fix some typos Tom de Vries
2026-09-03  5:47 ` [pushed 2/3] [gdb] Fix double words Tom de Vries
2026-09-03  5:47 ` [pushed 3/3] [gdb] Fix dont -> don't typo Tom de Vries

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox