binutils-gdb/gdb/common
Gary Benson 976411d6b6 Introduce common/common-defs.h
This commit creates a new header, common/common-defs.h, to hold
definitions common to all code under gdb/.  Both gdb/defs.h and
gdb/gdbserver/server.h are modified to include common-defs.h as
their first non-comment line; all code under gdb/ includes either
defs.h or server.h as appropriate, so common-defs.h will be the
first actual code the compiler sees.

For this initial commit common-defs.h includes only the two
config.h files.  Future commits will move more code currently
duplicated across defs.h and server.h such that shared code in
gdb/{common,target,nat} can be modified to include common-defs.h
rather than defs.h or server.h.

gdb/
2014-07-30  Gary Benson  <gbenson@redhat.com>

	* common/common-defs.h: New file.
	* Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
	* defs.h: Include common-defs.h.
	Do not include config.h or build-gnulib/config.h.

gdb/gdbserver/
2014-07-30  Gary Benson  <gbenson@redhat.com>

	* server.h: Include common-defs.h.
	Do not include config.h or build-gnulib-gdbserver/config.h.
2014-07-30 09:22:49 +01:00
..
agent.c Add new infrun.h header. 2014-05-22 12:29:11 +01:00
agent.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
ax.def Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
break-common.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
btrace-common.h btrace, gdbserver: read branch trace incrementally 2014-01-16 13:11:42 +01:00
buffer.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
buffer.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
common-defs.h Introduce common/common-defs.h 2014-07-30 09:22:49 +01:00
common-utils.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
common-utils.h Do not include config.h directly 2014-07-30 09:22:48 +01:00
common.m4 Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
create-version.sh Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
filestuff.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
filestuff.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
format.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
format.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
gdb_assert.h Move ASSERT_FUNCTION to FUNCTION_NAME. 2014-01-17 10:00:07 -08:00
gdb_locale.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
gdb_signals.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
gdb_vecs.c Add delim_string_to_char_ptr_vec. 2014-01-17 10:23:29 -08:00
gdb_vecs.h Add delim_string_to_char_ptr_vec. 2014-01-17 10:23:29 -08:00
gdb_wait.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
host-defs.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
i386-xstate.h Add AVX512 registers support to GDB and GDBserver. 2014-04-24 16:30:03 +02:00
print-utils.c share "cell" code 2014-02-12 09:59:13 -07:00
print-utils.h share "cell" code 2014-02-12 09:59:13 -07:00
ptid.c Make all source files include defs.h or server.h first 2014-07-30 09:22:48 +01:00
ptid.h Move ptid_match to common/ptid.c. 2014-02-27 14:30:07 +00:00
queue.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
rsp-low.c update rsp-low comments 2014-02-12 09:59:20 -07:00
rsp-low.h update rsp-low comments 2014-02-12 09:59:20 -07:00
signals.c Separate out ANSI-standard signals 2014-06-09 10:34:33 +01:00
vec.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
vec.h Move ASSERT_FUNCTION to FUNCTION_NAME. 2014-01-17 10:00:07 -08:00
version.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
xml-utils.c Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00
xml-utils.h Update Copyright year range in all files maintained by GDB. 2014-01-01 07:54:24 +04:00