From 6f1947e8a206a2664506ee5a333f7c9d0af8cac8 Mon Sep 17 00:00:00 2001 From: Gary Benson Date: Wed, 8 Oct 2014 09:33:22 +0100 Subject: 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. --- gdb/common/common-defs.h | 1 + gdb/common/common-exceptions.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/common') diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h index 2d3444bf40b..ffcc4eb6608 100644 --- a/gdb/common/common-defs.h +++ b/gdb/common/common-defs.h @@ -45,5 +45,6 @@ #include "common-types.h" #include "print-utils.h" #include "common-debug.h" +#include "cleanups.h" #endif /* COMMON_DEFS_H */ diff --git a/gdb/common/common-exceptions.c b/gdb/common/common-exceptions.c index c382d8630be..38216c8a93d 100644 --- a/gdb/common/common-exceptions.c +++ b/gdb/common/common-exceptions.c @@ -19,7 +19,6 @@ #include "common-defs.h" #include "common-exceptions.h" -#include "cleanups.h" /* Possible catcher states. */ enum catcher_state { -- cgit v1.2.1