[binutils-gdb] [gdb] Ignore whitespace in imported file gdb/exc_request.defs
Tom de Vries via Gdb-cvs <[email protected]> Thu, 18 Jun 2026 20:07:25 +0000 (GMT)
| Newsgroups | gmane.comp.gdb.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f13bd9e5094cb867a6402af7952a4045178c9cf1 commit f13bd9e5094cb867a6402af7952a4045178c9cf1 Author: Tom de Vries <[email protected]> Date: Thu Jun 18 22:06:50 2026 +0200 [gdb] Ignore whitespace in imported file gdb/exc_request.defs The file gdb/exc_request.defs is imported. Use .gitattributes to ignore whitespace in this file. Approved-By: Tom Tromey <[email protected]> Diff: --- gdb/.gitattributes | 3 +++ gdb/contrib/check-whitespace-pre-commit.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gdb/.gitattributes b/gdb/.gitattributes index a3f15e96349..fa3e5af7af8 100644 --- a/gdb/.gitattributes +++ b/gdb/.gitattributes @@ -20,3 +20,6 @@ aclocal.m4 -whitespace *.[ly] whitespace=space-before-tab,indent-with-non-tab,trailing-space *.def whitespace=space-before-tab,indent-with-non-tab,trailing-space + +# Imported files. +exc_request.defs -whitespace diff --git a/gdb/contrib/check-whitespace-pre-commit.py b/gdb/contrib/check-whitespace-pre-commit.py index 0fd7bcc3068..b79e158fecc 100755 --- a/gdb/contrib/check-whitespace-pre-commit.py +++ b/gdb/contrib/check-whitespace-pre-commit.py @@ -27,7 +27,6 @@ todo_list = [ "gdb/gdb-gdb.gdb.in", "gdb/configure.tgt", "gdb/doc/annotate.texinfo", - "gdb/exc_request.defs", "gdb/doc/refcard.tex", "gdb/doc/stack_frame.txt", ]