binutils-gdb/gdbsupport
Tom Tromey 0454ef42e7 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
2020-01-14 16:25:04 -07:00
..
ChangeLog Add gdbsupport check-defines script 2020-01-14 16:25:04 -07:00
Makefile.am Add gdbsupport check-defines script 2020-01-14 16:25:04 -07:00
Makefile.in Add gdbsupport check-defines script 2020-01-14 16:25:04 -07:00
README Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
acinclude.m4 Move many configure checks to common.m4 2020-01-14 16:25:03 -07:00
aclocal.m4 Move many configure checks to common.m4 2020-01-14 16:25:03 -07:00
agent.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
agent.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
alt-stack.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
array-view.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
ax.def Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
block-signals.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
break-common.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
btrace-common.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
btrace-common.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
buffer.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
buffer.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
byte-vector.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
check-defines.el Add gdbsupport check-defines script 2020-01-14 16:25:04 -07:00
cleanups.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
cleanups.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
common-debug.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
common-debug.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
common-defs.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
common-exceptions.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
common-exceptions.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
common-gdbthread.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
common-inferior.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
common-inferior.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
common-regcache.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
common-regcache.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
common-types.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
common-utils.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
common-utils.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
common.m4 Move many configure checks to common.m4 2020-01-14 16:25:03 -07:00
config.in Move many configure checks to common.m4 2020-01-14 16:25:03 -07:00
configure Move many configure checks to common.m4 2020-01-14 16:25:03 -07:00
configure.ac Move many configure checks to common.m4 2020-01-14 16:25:03 -07:00
create-version.sh Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
def-vector.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
default-init-alloc.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
enum-flags.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
environ.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
environ.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
errors.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
errors.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
fileio.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
fileio.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
filestuff.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
filestuff.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
filtered-iterator.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
format.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
format.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
forward-scope-exit.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
function-view.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb-dlfcn.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb-dlfcn.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb-sigmask.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_assert.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_binary_search.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_locale.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_optional.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_proc_service.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_ref_ptr.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_setjmp.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_signals.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_splay_tree.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_string_view.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_string_view.tcc Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_sys_time.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_tilde_expand.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_tilde_expand.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_unique_ptr.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_unlinker.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_vecs.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_vecs.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_wait.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
gdb_wait.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
hash_enum.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
host-defs.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
job-control.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
job-control.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
netstuff.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
netstuff.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
new-op.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
next-iterator.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
observable.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
offset-type.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
parallel-for.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
pathstuff.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
pathstuff.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
poison.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
preprocessor.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
print-utils.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
print-utils.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
ptid.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
ptid.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
refcounted-object.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
rsp-low.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
rsp-low.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
run-time-clock.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
run-time-clock.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
safe-iterator.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
safe-strerror.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
scope-exit.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
scoped_fd.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
scoped_mmap.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
scoped_mmap.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
scoped_restore.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
selftest.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
selftest.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
signals-state-save-restore.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
signals-state-save-restore.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
signals.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
symbol.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
tdesc.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
tdesc.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
thread-pool.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
thread-pool.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
traits.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
underlying.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
valid-expr.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
version.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
x86-xstate.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
xml-utils.c Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00
xml-utils.h Move gdbsupport to the top level 2020-01-14 16:25:02 -07:00

README

This is a helper library that is used by gdb and gdbserver.

To send patches, follow the gdb patch submission instructions in
../gdb/CONTRIBUTE.  For maintainers, see ../gdb/MAINTAINERS.