diff options
author | Tom Tromey <tom@tromey.com> | 2019-12-19 17:51:40 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-01-14 16:25:04 -0700 |
commit | 0454ef42e74e051dda95004f3c99cbe89bce3a8c (patch) | |
tree | 6a077764690fc116afef9dc51944dc7ec9f3e61e /gdbsupport/Makefile.in | |
parent | 25e573565306c51df462eb6a957f86fc130ee580 (diff) | |
download | fsf-binutils-gdb-0454ef42e74e051dda95004f3c99cbe89bce3a8c.zip fsf-binutils-gdb-0454ef42e74e051dda95004f3c99cbe89bce3a8c.tar.gz fsf-binutils-gdb-0454ef42e74e051dda95004f3c99cbe89bce3a8c.tar.bz2 |
Add gdbsupport check-defines script
This adds a new script that tries to check that none of the support
code uses defines that are not defined by common.m4. This check is
necessarily inexact, but this script caught all the issues fixed in
the previous patches.
gdbsupport/ChangeLog
2020-01-14 Tom Tromey <tom@tromey.com>
* Makefile.in: Rebuild.
* Makefile.am (check-defines): New target.
* check-defines.el: New file.
Change-Id: I59450e91394d5e6a7fa59e9ab53c95843c4bacd9
Diffstat (limited to 'gdbsupport/Makefile.in')
-rw-r--r-- | gdbsupport/Makefile.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdbsupport/Makefile.in b/gdbsupport/Makefile.in index a2e174d..5723ae5 100644 --- a/gdbsupport/Makefile.in +++ b/gdbsupport/Makefile.in @@ -691,6 +691,10 @@ uninstall-am: override CC := $(CXX) override CFLAGS := $(CXXFLAGS) +# Double-check that no defines are missing from our configury. +check-defines: + cd $(srcdir) && emacs --script check-defines.el + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: |