Add gdbsupport check-defines script
authorTom Tromey <tom@tromey.com>
Fri, 20 Dec 2019 00:51:40 +0000 (17:51 -0700)
committerTom Tromey <tom@tromey.com>
Tue, 14 Jan 2020 23:25:04 +0000 (16:25 -0700)
commit0454ef42e74e051dda95004f3c99cbe89bce3a8c
tree6a077764690fc116afef9dc51944dc7ec9f3e61e
parent25e573565306c51df462eb6a957f86fc130ee580
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
gdbsupport/ChangeLog
gdbsupport/Makefile.am
gdbsupport/Makefile.in
gdbsupport/check-defines.el [new file with mode: 0644]