]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdbserver/ChangeLog
Introduce common/common-defs.h
authorGary Benson <gbenson@redhat.com>
Thu, 24 Jul 2014 14:35:45 +0000 (15:35 +0100)
committerGary Benson <gbenson@redhat.com>
Wed, 30 Jul 2014 08:22:49 +0000 (09:22 +0100)
commit976411d6b6aa5cae05259eb92b87a04262052e09
tree680cd8fa567bb21cba7ce135f49f3e609740d36a
parent5d4848a4bda0cb79d61dcb9987ef6116cf1e6f67
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.
gdb/ChangeLog
gdb/Makefile.in
gdb/common/common-defs.h [new file with mode: 0644]
gdb/defs.h
gdb/gdbserver/ChangeLog
gdb/gdbserver/server.h