Include cleanups.h in common-defs.h

This commit includes cleanups.h in common-defs.h and removes all other
inclusions.

gdb/ChangeLog:

	* common/common-defs.h: Include cleanups.h.
	* common/common-exceptions.c: Do not include cleanups.h.
	* utils.h: Likewise.

gdb/gdbserver/ChangeLog:

	* server.h: Do not include cleanups.h.
This commit is contained in:
Gary Benson 2014-10-08 09:33:22 +01:00
parent c765fdb902
commit 6f1947e8a2
6 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2014-10-08 Gary Benson <gbenson@redhat.com>
* common/common-defs.h: Include cleanups.h.
* common/common-exceptions.c: Do not include cleanups.h.
* utils.h: Likewise.
2014-10-08 Gary Benson <gbenson@redhat.com>
* ada-lang.c: Do not include exceptions.h.

View File

@ -45,5 +45,6 @@
#include "common-types.h"
#include "print-utils.h"
#include "common-debug.h"
#include "cleanups.h"
#endif /* COMMON_DEFS_H */

View File

@ -19,7 +19,6 @@
#include "common-defs.h"
#include "common-exceptions.h"
#include "cleanups.h"
/* Possible catcher states. */
enum catcher_state {

View File

@ -1,3 +1,7 @@
2014-10-08 Gary Benson <gbenson@redhat.com>
* server.h: Do not include cleanups.h.
2014-09-30 James Hogan <james.hogan@imgtec.com>
* Makefile.in (clean): Add rm -f commands for mips-dsp-linux.c and

View File

@ -125,6 +125,5 @@ extern int handle_target_event (int err, gdb_client_data client_data);
#define PBUFSIZ 16384
#include "common-exceptions.h"
#include "cleanups.h"
#endif /* SERVER_H */

View File

@ -21,7 +21,6 @@
#ifndef UTILS_H
#define UTILS_H
#include "cleanups.h"
#include "exceptions.h"
extern void initialize_utils (void);