diff options
| author | Tom de Vries <tdevries@suse.de> | 2025-12-10 00:25:19 +0100 |
|---|---|---|
| committer | Tom de Vries <tdevries@suse.de> | 2025-12-10 00:25:19 +0100 |
| commit | 0f8fab2c906debb0169c9e09b7fcdd24c19db2a5 (patch) | |
| tree | 13a004f1195d2e5a1ddf70ac862c66cdfcf16175 /gdb/contrib/check-whitespace-pre-commit.py | |
| parent | 10846fb73761134fb9f0e7c16f59a3e6196707c5 (diff) | |
| download | binutils-0f8fab2c906debb0169c9e09b7fcdd24c19db2a5.zip binutils-0f8fab2c906debb0169c9e09b7fcdd24c19db2a5.tar.gz binutils-0f8fab2c906debb0169c9e09b7fcdd24c19db2a5.tar.bz2 | |
[gdb] Fix whitespace in *.[ly]
Add indent-with-non-tab for *.[ly] in gdb/.gitattributes.
Fix whitespace in the *.[ly] 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 | 2 |
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 f084a08..b840aba 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|[ch])$)") +re_clean = re.compile("(^(gdb/testsuite/|gdbsupport/|gdbserver/)|[.](m4|ac|[chly])$)") re_clean_exclude = re.compile("^(gdb/symfile.c|gdb/cli/cli-cmds.c)$") clean = [] |
