aboutsummaryrefslogtreecommitdiff
path: root/gdb/contrib/check-whitespace-pre-commit.py
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2025-12-10 00:25:19 +0100
committerTom de Vries <tdevries@suse.de>2025-12-10 00:25:19 +0100
commit08eac89e8897001962ad0624455e9beafb1bc226 (patch)
tree92272f5e31a648ccc7e1b4aef2b72a0848eba74d /gdb/contrib/check-whitespace-pre-commit.py
parentf5c3ce3687f7e1047c2f8a5c5dd9af2f36055663 (diff)
downloadbinutils-08eac89e8897001962ad0624455e9beafb1bc226.zip
binutils-08eac89e8897001962ad0624455e9beafb1bc226.tar.gz
binutils-08eac89e8897001962ad0624455e9beafb1bc226.tar.bz2
[gdb] Fix whitespace in *.h
Fix whitespace in the *.h files in gdb, and add these files to the clean list in gdb/contrib/check-whitespace-pre-commit.py. Tested on x86_64-linux. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/contrib/check-whitespace-pre-commit.py')
-rwxr-xr-xgdb/contrib/check-whitespace-pre-commit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/contrib/check-whitespace-pre-commit.py b/gdb/contrib/check-whitespace-pre-commit.py
index 023a5d2..3045b3e 100755
--- a/gdb/contrib/check-whitespace-pre-commit.py
+++ b/gdb/contrib/check-whitespace-pre-commit.py
@@ -18,7 +18,7 @@ import re
import subprocess
import sys
-re_clean = re.compile("(^(gdb/testsuite/|gdbsupport/|gdbserver/)|[.](m4|ac)$)")
+re_clean = re.compile("(^(gdb/testsuite/|gdbsupport/|gdbserver/)|[.](m4|ac|h)$)")
clean = []
other = []