diff options
author | Gary Benson <gbenson@redhat.com> | 2014-07-28 14:35:17 +0100 |
---|---|---|
committer | Gary Benson <gbenson@redhat.com> | 2014-08-07 09:06:44 +0100 |
commit | e76df0d08686820dee6d6f440431d962c7631bd3 (patch) | |
tree | 300274f125610e3c83cda29b612ddcfb2f19a1c8 /gdb/common | |
parent | 4cb9c816469ef3373d9cdde76e8ab5007cf3739e (diff) | |
download | gdb-e76df0d08686820dee6d6f440431d962c7631bd3.zip gdb-e76df0d08686820dee6d6f440431d962c7631bd3.tar.gz gdb-e76df0d08686820dee6d6f440431d962c7631bd3.tar.bz2 |
Move common-utils.h to common-defs.h
This commit moves the inclusion of common-utils.h to common-defs.h and
removes all other inclusions.
gdb/
2014-08-07 Gary Benson <gbenson@redhat.com>
* common/common-defs.h: Include common-utils.h.
* defs.h: Do not include common-utils.h.
* common/gdb_assert.h: Likewise.
* darwin-nat.h: Likewise.
* nat/linux-btrace.c: Likewise.
* target/waitstatus.h: Likewise.
gdb/gdbserver/
2014-08-07 Gary Benson <gbenson@redhat.com>
* server.h: Do not include common-utils.h.
Diffstat (limited to 'gdb/common')
-rw-r--r-- | gdb/common/common-defs.h | 1 | ||||
-rw-r--r-- | gdb/common/gdb_assert.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h index 7bf328a..6a031ec 100644 --- a/gdb/common/common-defs.h +++ b/gdb/common/common-defs.h @@ -37,5 +37,6 @@ #include "gdb/signals.h" #include "gdb_locale.h" #include "ptid.h" +#include "common-utils.h" #endif /* COMMON_DEFS_H */ diff --git a/gdb/common/gdb_assert.h b/gdb/common/gdb_assert.h index 4869fc4..7b795d3 100644 --- a/gdb/common/gdb_assert.h +++ b/gdb/common/gdb_assert.h @@ -19,8 +19,6 @@ #ifndef GDB_ASSERT_H #define GDB_ASSERT_H -#include "common-utils.h" /* For FUNCTION_NAME. */ - /* A static assertion. This will cause a compile-time error if EXPR, which must be a compile-time constant, is false. */ |