From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [pushed 1/3] [gdb] Fix some typos
Date: Thu, 3 Sep 2026 07:47:20 +0200 [thread overview]
Message-ID: <20260903054722.1461007-1-tdevries@suse.de> (raw)
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
next reply other threads:[~2026-09-03 5:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-03 5:47 Tom de Vries [this message]
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
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=20260903054722.1461007-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