]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix check-include-guards.py
authorTom Tromey <tom@tromey.com>
Sun, 9 Mar 2025 17:05:40 +0000 (11:05 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 10 Mar 2025 15:18:40 +0000 (09:18 -0600)
commit0e7e4162469ff8e0139f599e3f37420d8e160390
treef6ac3116baa0d2dbf4d202ea3d888e21c48a661c
parent72088cbe294598b957a43d923cf070ecf49afe52
Fix check-include-guards.py

I noticed that check-include-guards.py doesn't error in certain
situations -- but in situations where the --update flag would cause a
file to be changed.

This patch changes the script to issue an error for any discrepancy.
It also fixes the headers that weren't correct.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/arch/loongarch-insn.h
gdb/arch/loongarch-syscall.h
gdb/check-include-guards.py
gdb/config/djgpp/langinfo.h
gdb/config/djgpp/nl_types.h
gdb/config/i386/nm-x86-gnu.h
gdb/config/sparc/nm-sol2.h
gdb/python/py-color.h
gdbsupport/scoped_signal_handler.h