diff options
| author | Tom de Vries <tdevries@suse.de> | 2025-12-10 00:25:20 +0100 |
|---|---|---|
| committer | Tom de Vries <tdevries@suse.de> | 2025-12-10 00:25:20 +0100 |
| commit | 21b10d4c3e687ecdc4738900269d75691e67def7 (patch) | |
| tree | 815870815345d34af371bed8b55d6076cbab3518 /gdb/contrib/check-whitespace-pre-commit.py | |
| parent | 0f8fab2c906debb0169c9e09b7fcdd24c19db2a5 (diff) | |
| download | binutils-21b10d4c3e687ecdc4738900269d75691e67def7.zip binutils-21b10d4c3e687ecdc4738900269d75691e67def7.tar.gz binutils-21b10d4c3e687ecdc4738900269d75691e67def7.tar.bz2 | |
[gdb] Fix whitespace in *.def
Add indent-with-non-tab for *.def in gdb*/.gitattributes.
Fix whitespace in the *.def 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-x | gdb/contrib/check-whitespace-pre-commit.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/contrib/check-whitespace-pre-commit.py b/gdb/contrib/check-whitespace-pre-commit.py index b840aba..d7fa45d 100755 --- a/gdb/contrib/check-whitespace-pre-commit.py +++ b/gdb/contrib/check-whitespace-pre-commit.py @@ -18,7 +18,9 @@ import re import subprocess import sys -re_clean = re.compile("(^(gdb/testsuite/|gdbsupport/|gdbserver/)|[.](m4|ac|[chly])$)") +re_clean = re.compile( + "(^(gdb/testsuite/|gdbsupport/|gdbserver/)|[.](m4|ac|def|[chly])$)" +) re_clean_exclude = re.compile("^(gdb/symfile.c|gdb/cli/cli-cmds.c)$") clean = [] |
