Include common-exceptions.h in common-defs.h

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

gdb/ChangeLog:

	* common/common-defs.h: Include common-exceptions.h.
	* exceptions.h: Do not include common-exceptions.h.

gdb/gdbserver/ChangeLog:

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

View file

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

View file

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

View file

@ -20,7 +20,6 @@
#ifndef EXCEPTIONS_H
#define EXCEPTIONS_H
#include "common-exceptions.h"
#include "ui-out.h"
/* A pre-defined non-exception. */

View file

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

View file

@ -124,6 +124,4 @@ extern int handle_target_event (int err, gdb_client_data client_data);
as large as the largest register set supported by gdbserver. */
#define PBUFSIZ 16384
#include "common-exceptions.h"
#endif /* SERVER_H */