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.
This commit is contained in:
Gary Benson 2014-07-28 14:35:17 +01:00
parent 4cb9c81646
commit e76df0d086
9 changed files with 14 additions and 8 deletions

View File

@ -1,3 +1,12 @@
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.
2014-08-07 Gary Benson <gbenson@redhat.com>
* common/common-defs.h: Include ptid.h.

View File

@ -37,5 +37,6 @@
#include "gdb/signals.h"
#include "gdb_locale.h"
#include "ptid.h"
#include "common-utils.h"
#endif /* COMMON_DEFS_H */

View File

@ -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. */

View File

@ -18,7 +18,6 @@
#define __DARWIN_NAT_H__
#include <mach/mach.h>
#include "common-utils.h" /* For FUNCTION_NAME. */
/* Describe the mach exception handling state for a task. This state is saved
before being changed and restored when a process is detached.

View File

@ -533,8 +533,6 @@ enum val_prettyformat
extern int longest_to_int (LONGEST);
#include "common-utils.h"
/* * List of known OS ABIs. If you change this, make sure to update the
table in osabi.c. */
enum gdb_osabi

View File

@ -1,3 +1,7 @@
2014-08-07 Gary Benson <gbenson@redhat.com>
* server.h: Do not include common-utils.h.
2014-08-07 Gary Benson <gbenson@redhat.com>
* server.h: Do not include ptid.h.

View File

@ -131,7 +131,6 @@ extern int handle_target_event (int err, gdb_client_data client_data);
#include "remote-utils.h"
#include "common-utils.h"
#include "utils.h"
#include "debug.h"

View File

@ -26,7 +26,6 @@
#endif
#include "linux-btrace.h"
#include "common-utils.h"
#include "gdb_assert.h"
#include "regcache.h"
#include "gdbthread.h"

View File

@ -20,7 +20,6 @@
#ifndef WAITSTATUS_H
#define WAITSTATUS_H
#include "common-utils.h"
#include "gdb_signals.h"
/* Stuff for target_wait. */