[binutils-gdb] [gdb] Fix trailing whitespace in some files
Tom de Vries
vries@sourceware.org
Thu Jun 18 20:07:30 GMT 2026
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=a5c0e925479f3c43eba6d1ac74a47e6cad51cb57
commit a5c0e925479f3c43eba6d1ac74a47e6cad51cb57
Author: Tom de Vries <tdevries@suse.de>
Date: Thu Jun 18 22:06:50 2026 +0200
[gdb] Fix trailing whitespace in some files
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
...
Approved-By: Tom Tromey <tom@tromey.com>
Diff:
---
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
| | |
More information about the Gdb-cvs
mailing list