From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [pushed] [gdb/testsuite] Fix codespell errors in gdb.base/source-tracking-inline-{1, 2}.c
Date: Wed, 30 Sep 2026 01:07:30 +0200 [thread overview]
Message-ID: <20260929230730.3118110-1-tdevries@suse.de> (raw)
Fix:
...
codespell...............................................................Failed
- hook id: codespell
- exit code: 65
gdb/testsuite/gdb.base/source-tracking-inline-1.c:45: ans ==> and
gdb/testsuite/gdb.base/source-tracking-inline-1.c:49: ans ==> and
gdb/testsuite/gdb.base/source-tracking-inline-2.c:45: ans ==> and
gdb/testsuite/gdb.base/source-tracking-inline-2.c:49: ans ==> and
...
by using answer instead of ans.
---
gdb/testsuite/gdb.base/source-tracking-inline-1.c | 4 ++--
gdb/testsuite/gdb.base/source-tracking-inline-2.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/gdb/testsuite/gdb.base/source-tracking-inline-1.c b/gdb/testsuite/gdb.base/source-tracking-inline-1.c
index aad234ffbcc..1f096af225f 100644
--- a/gdb/testsuite/gdb.base/source-tracking-inline-1.c
+++ b/gdb/testsuite/gdb.base/source-tracking-inline-1.c
@@ -42,9 +42,9 @@ main (void)
{
++global_var;
- int ans = foo (42) + bar (10);
+ int answer = foo (42) + bar (10);
++global_var;
- return ans - global_var;
+ return answer - global_var;
}
diff --git a/gdb/testsuite/gdb.base/source-tracking-inline-2.c b/gdb/testsuite/gdb.base/source-tracking-inline-2.c
index 5924666a8c0..451593f3b54 100644
--- a/gdb/testsuite/gdb.base/source-tracking-inline-2.c
+++ b/gdb/testsuite/gdb.base/source-tracking-inline-2.c
@@ -42,9 +42,9 @@ main (void)
{
++global_var;
- int ans = foo (42) + bar (10);
+ int answer = foo (42) + bar (10);
++global_var;
- return ans - global_var;
+ return answer - global_var;
}
base-commit: ccf0f68e72ea0a5628097b980a04e1a8262781df
--
2.51.0
reply other threads:[~2026-09-29 23:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20260929230730.3118110-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