[binutils-gdb] [gdb] Fix new blank line at EOF in a few scripts

Tom de Vries via Gdb-cvs <[email protected]> Thu, 18 Jun 2026 20:07:14 +0000 (GMT)
Newsgroups gmane.comp.gdb.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8cb0a37aa1c2c207bd718c8739ff33e89a483b5c

commit 8cb0a37aa1c2c207bd718c8739ff33e89a483b5c
Author: Tom de Vries <[email protected]>
Date:   Thu Jun 18 22:06:50 2026 +0200

    [gdb] Fix new blank line at EOF in a few scripts
    
    Fix this:
    ...
    gdb/contrib/ari/gdb_ari.sh:1216: new blank line at EOF.
    gdb/contrib/ari/create-web-ari-in-src.sh:82: new blank line at EOF.
    gdb/config/djgpp/djcheck.sh:48: new blank line at EOF.
    ...
    
    Approved-By: Tom Tromey <[email protected]>

Diff:
---
 gdb/config/djgpp/djcheck.sh                | 1 -
 gdb/contrib/ari/create-web-ari-in-src.sh   | 1 -
 gdb/contrib/ari/gdb_ari.sh                 | 1 -
 gdb/contrib/check-whitespace-pre-commit.py | 3 ---
 4 files changed, 6 deletions(-)

diff --git a/gdb/config/djgpp/djcheck.sh b/gdb/config/djgpp/djcheck.sh
index c19550e5f9d..fa75d03f776 100644
--- a/gdb/config/djgpp/djcheck.sh
+++ b/gdb/config/djgpp/djcheck.sh
@@ -45,4 +45,3 @@ do
     fi
   done
 done
-
diff --git a/gdb/contrib/ari/create-web-ari-in-src.sh b/gdb/contrib/ari/create-web-ari-in-src.sh
index e8ba13ef540..e326905efef 100644
--- a/gdb/contrib/ari/create-web-ari-in-src.sh
+++ b/gdb/contrib/ari/create-web-ari-in-src.sh
@@ -79,4 +79,3 @@ if [ -f "${webdir}/index.html" ] ; then
 else
   echo "ARI script failed to generate file \"${webdir}/index.html\""
 fi
-
diff --git a/gdb/contrib/ari/gdb_ari.sh b/gdb/contrib/ari/gdb_ari.sh
index 41bfae4db80..c1687c73885 100755
--- a/gdb/contrib/ari/gdb_ari.sh
+++ b/gdb/contrib/ari/gdb_ari.sh
@@ -1213,4 +1213,3 @@ BEGIN {
 	exit
     }
 }' "$@"
-
diff --git a/gdb/contrib/check-whitespace-pre-commit.py b/gdb/contrib/check-whitespace-pre-commit.py
index fbcc1a1ac45..f39e9477410 100755
--- a/gdb/contrib/check-whitespace-pre-commit.py
+++ b/gdb/contrib/check-whitespace-pre-commit.py
@@ -24,10 +24,7 @@ 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/contrib/ari/create-web-ari-in-src.sh",
     "gdb/gdb-gdb.gdb.in",
-    "gdb/config/djgpp/djcheck.sh",
-    "gdb/contrib/ari/gdb_ari.sh",
     "gdb/features/sparc/sparc64-cp0.xml",
     "gdb/features/sparc/sparc64-fpu.xml",
     "gdb/configure.tgt",