diff options
author | Gary Benson <gbenson@redhat.com> | 2014-07-24 16:20:50 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-07-30 09:22:48 +0100 |
commit | 5d4848a4bda0cb79d61dcb9987ef6116cf1e6f67 (patch) | |
tree | f33e8596a694556a9d111147bd76b56d897a0bdf /gdb/nat | |
parent | d41f6d8ea2868ed247c149c252741d02293c6659 (diff) | |
download | fsf-binutils-gdb-5d4848a4bda0cb79d61dcb9987ef6116cf1e6f67.zip fsf-binutils-gdb-5d4848a4bda0cb79d61dcb9987ef6116cf1e6f67.tar.gz fsf-binutils-gdb-5d4848a4bda0cb79d61dcb9987ef6116cf1e6f67.tar.bz2 |
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.
Diffstat (limited to 'gdb/nat')
-rw-r--r-- | gdb/nat/linux-btrace.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/nat/linux-btrace.h b/gdb/nat/linux-btrace.h index 12e9b60..a96d9d1 100644 --- a/gdb/nat/linux-btrace.h +++ b/gdb/nat/linux-btrace.h @@ -23,7 +23,6 @@ #define LINUX_BTRACE_H #include "btrace-common.h" -#include "config.h" #include "vec.h" #include "ptid.h" #include <stddef.h> |