This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 976411d6b6aa5cae05259eb92b87a04262052e09
- From: gary at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 30 Jul 2014 08:24:16 -0000
- Subject: gdb and binutils branch master updated. 976411d6b6aa5cae05259eb92b87a04262052e09
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 976411d6b6aa5cae05259eb92b87a04262052e09 (commit)
via 5d4848a4bda0cb79d61dcb9987ef6116cf1e6f67 (commit)
via d41f6d8ea2868ed247c149c252741d02293c6659 (commit)
from f2120acddc665a9adbd90e2dd32a3f589d9230c4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=976411d6b6aa5cae05259eb92b87a04262052e09
commit 976411d6b6aa5cae05259eb92b87a04262052e09
Author: Gary Benson <gbenson@redhat.com>
Date: Thu Jul 24 15:35:45 2014 +0100
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.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5d4848a4bda0cb79d61dcb9987ef6116cf1e6f67
commit 5d4848a4bda0cb79d61dcb9987ef6116cf1e6f67
Author: Gary Benson <gbenson@redhat.com>
Date: Thu Jul 24 16:20:50 2014 +0100
Do not include config.h directly
All source files under gdb/ that include headers from gdb/ include
either defs.h or server.h before any other code with the exception
of gdb/gdbserver/gdbreplay.c which seems to be a special case. Both
defs.h and server.h include both our and gnulib's config.h files as
their first non-comment line, so no other file ever needs to directly
include any config.h. This commit removes two such direct config.h
includes.
gdb/
2014-07-30 Gary Benson <gbenson@redhat.com>
* common/common-utils.h: Do not include config.h.
* nat/linux-btrace.h: Likewise.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d41f6d8ea2868ed247c149c252741d02293c6659
commit d41f6d8ea2868ed247c149c252741d02293c6659
Author: Gary Benson <gbenson@redhat.com>
Date: Fri Jul 25 12:18:00 2014 +0100
Make all source files include defs.h or server.h first
This commit makes all source files under gdb/ that include headers
from gdb/ include either defs.h or server.h before any other code.
This ensures that definitions and macros from the two config.h files
are always in place for our code. An exception has been made for
gdb/gdbserver/gdbreplay.c which seems to be a special case.
gdb/
2014-07-30 Gary Benson <gbenson@redhat.com>
* btrace.c: Include defs.h.
* common/ptid.c: Include defs.h or server.h as appropriate.
* nat/mips-linux-watch.c: Likewise.
gdb/gdbserver/
2014-07-30 Gary Benson <gbenson@redhat.com>
* hostio-errno.c: Move server.h to top of includes list.
* inferiors.c: Likewise.
* linux-x86-low.c: Likewise.
* notif.c: Include server.h.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 18 ++++++++++++++++++
gdb/Makefile.in | 2 +-
gdb/btrace.c | 1 +
.../i386/nm-fbsd.h => common/common-defs.h} | 15 +++++++++++----
gdb/common/common-utils.h | 1 -
gdb/common/ptid.c | 5 +++++
gdb/defs.h | 3 +--
gdb/gdbserver/ChangeLog | 12 ++++++++++++
gdb/gdbserver/hostio-errno.c | 2 +-
gdb/gdbserver/inferiors.c | 3 +--
gdb/gdbserver/linux-x86-low.c | 2 +-
gdb/gdbserver/notif.c | 1 +
gdb/gdbserver/server.h | 3 +--
gdb/nat/linux-btrace.h | 1 -
gdb/nat/mips-linux-watch.c | 5 +++++
15 files changed, 59 insertions(+), 15 deletions(-)
copy gdb/{config/i386/nm-fbsd.h => common/common-defs.h} (76%)
hooks/post-receive
--
gdb and binutils