From: Tom de Vries <tdevries@suse.de>
To: gdb-patches@sourceware.org
Subject: [PATCH 6/9] [gdb] Fix trailing whitespace in some files
Date: Thu, 18 Jun 2026 15:38:15 +0200 [thread overview]
Message-ID: <20260618133818.55460-7-tdevries@suse.de> (raw)
In-Reply-To: <20260618133818.55460-1-tdevries@suse.de>
Fix this:
...
gdb/configure.tgt:369: trailing whitespace.
+lm32-*-*)
gdb/configure.tgt:370: trailing whitespace.
+ gdb_target_obs="lm32-tdep.o"
gdb/configure.tgt:674: trailing whitespace.
+ # Target: TI C6X
gdb/config/djgpp/fnchange.lst:247: trailing whitespace.
+@V@/gdb/features/tic6x-core.xml @V@/gdb/features/c6x-core.xml
gdb/doc/stack_frame.txt:36: trailing whitespace.
+ | | Red Zone | v
...
---
gdb/config/djgpp/fnchange.lst | 2 +-
gdb/configure.tgt | 6 +++---
gdb/contrib/check-whitespace-pre-commit.py | 3 ---
gdb/doc/stack_frame.txt | 2 +-
4 files changed, 5 insertions(+), 8 deletions(-)
diff --git a/gdb/config/djgpp/fnchange.lst b/gdb/config/djgpp/fnchange.lst
index be10b57faab..85ce1dc4088 100644
--- a/gdb/config/djgpp/fnchange.lst
+++ b/gdb/config/djgpp/fnchange.lst
@@ -244,7 +244,7 @@
@V@/gdb/features/i386/i386-mmx.c @V@/gdb/features/i386/i32-m.c
@V@/gdb/features/i386/i386-mmx-linux.xml @V@/gdb/features/i386/i32-ml.xml
@V@/gdb/features/i386/i386-mmx.xml @V@/gdb/features/i386/i32-m.xml
-@V@/gdb/features/tic6x-core.xml @V@/gdb/features/c6x-core.xml
+@V@/gdb/features/tic6x-core.xml @V@/gdb/features/c6x-core.xml
@V@/gdb/features/tic6x-gp.xml @V@/gdb/features/c6x-gp.xml
@V@/gdb/features/tic6x-c6xp.xml @V@/gdb/features/c6x-c6xp.xml
@V@/gdb/features/tic6x-c62x.xml @V@/gdb/features/c6x-62x.xml
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 21fc9d95978..362de60065c 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -366,8 +366,8 @@ iq2000-*-*)
gdb_target_obs="iq2000-tdep.o"
;;
-lm32-*-*)
- gdb_target_obs="lm32-tdep.o"
+lm32-*-*)
+ gdb_target_obs="lm32-tdep.o"
;;
loongarch*-*-linux*)
@@ -671,7 +671,7 @@ tic6x-*-*linux)
;;
tic6x-*-*)
- # Target: TI C6X
+ # Target: TI C6X
gdb_target_obs="tic6x-tdep.o"
;;
diff --git a/gdb/contrib/check-whitespace-pre-commit.py b/gdb/contrib/check-whitespace-pre-commit.py
index b79e158fecc..bc76fb0cd5f 100755
--- a/gdb/contrib/check-whitespace-pre-commit.py
+++ b/gdb/contrib/check-whitespace-pre-commit.py
@@ -23,12 +23,9 @@ re_ignore = re.compile("ChangeLog")
# Files that are not clean, so they're only checked when changes.
todo_list = [
- "gdb/config/djgpp/fnchange.lst",
"gdb/gdb-gdb.gdb.in",
- "gdb/configure.tgt",
"gdb/doc/annotate.texinfo",
"gdb/doc/refcard.tex",
- "gdb/doc/stack_frame.txt",
]
clean = []
diff --git a/gdb/doc/stack_frame.txt b/gdb/doc/stack_frame.txt
index e6ff020b378..0f2510e9990 100644
--- a/gdb/doc/stack_frame.txt
+++ b/gdb/doc/stack_frame.txt
@@ -33,7 +33,7 @@ Number - | | |============| int fact (int n)
| | |------------| |
| --+-----o |<--------- SP |
= |============| |
- | | Red Zone | v
+ | | Red Zone | v
| \/\/\/\/\/\/\/ Direction of
#-1 < \/\/\/\/\/\/\/ stack growth
| | |
--
2.51.0
next prev parent reply other threads:[~2026-06-18 13:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-18 13:38 [PATCH 0/9] [gdb] More whitespace fixes Tom de Vries
2026-06-18 13:38 ` [PATCH 1/9] [gdb] Increase clean range in check-whitespace-pre-commit.py Tom de Vries
2026-06-18 13:38 ` [PATCH 2/9] [gdb] Fix leftover conflict marker in gdb/config/djgpp/README Tom de Vries
2026-06-18 13:38 ` [PATCH 3/9] [gdb] Fix new blank line at EOF in a few scripts Tom de Vries
2026-06-18 13:38 ` [PATCH 4/9] [gdb] Fix new blank line at EOF in a few xml files Tom de Vries
2026-06-18 13:38 ` [PATCH 5/9] [gdb] Ignore whitespace in imported file gdb/exc_request.defs Tom de Vries
2026-06-18 13:38 ` Tom de Vries [this message]
2026-06-18 13:38 ` [PATCH 7/9] [gdb] Ignore trailing whitespace in gdb/gdb-gdb.gdb.in Tom de Vries
2026-06-18 13:38 ` [PATCH 8/9] [gdb] Fix trailing whitespace in annotate.texinfo Tom de Vries
2026-06-18 13:38 ` [PATCH 9/9] [gdb] Fix trailing whitespace in refcard.tex Tom de Vries
2026-06-18 14:03 ` [PATCH 0/9] [gdb] More whitespace fixes Eli Zaretskii
2026-06-18 15:25 ` Tom de Vries
2026-06-18 17:13 ` Tom Tromey
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=20260618133818.55460-7-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