Move print-utils.h to common-defs.h
authorGary Benson <gbenson@redhat.com>
Wed, 30 Jul 2014 15:14:21 +0000 (16:14 +0100)
committerGary Benson <gbenson@redhat.com>
Tue, 19 Aug 2014 09:07:19 +0000 (10:07 +0100)
This commit moves the inclusion of print-utils.h to common-defs.h
and removes all other inclusions.

gdb/ChangeLog:

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

gdb/gdbserver/ChangeLog:

* utils.h: Do not include print-utils.h.

gdb/ChangeLog
gdb/common/common-defs.h
gdb/gdbserver/ChangeLog
gdb/gdbserver/utils.h
gdb/utils.h

index 4c8b76b..bab7cf1 100644 (file)
@@ -1,3 +1,8 @@
+2014-08-19  Gary Benson  <gbenson@redhat.com>
+
+       * common/common-defs.h: Include print-utils.h.
+       * utils.h: Do not include print-utils.h.
+
 2014-08-19  Tom Tromey  <tromey@redhat.com>
            Gary Benson  <gbenson@redhat.com>
 
index 5543e4c..66c0d21 100644 (file)
@@ -43,5 +43,6 @@
 #include "gdb_assert.h"
 #include "errors.h"
 #include "common-types.h"
+#include "print-utils.h"
 
 #endif /* COMMON_DEFS_H */
index 81db69a..14b5a4f 100644 (file)
@@ -1,3 +1,7 @@
+2014-08-19  Gary Benson  <gbenson@redhat.com>
+
+       * utils.h: Do not include print-utils.h.
+
 2014-08-19  Tom Tromey  <tromey@redhat.com>
            Gary Benson  <gbenson@redhat.com>
 
index a994f38..cdd80df 100644 (file)
@@ -19,8 +19,6 @@
 #ifndef UTILS_H
 #define UTILS_H
 
-#include "print-utils.h"
-
 void fatal (const char *string,...) ATTRIBUTE_NORETURN ATTRIBUTE_PRINTF (1, 2);
 char *paddress (CORE_ADDR addr);
 char *pfildes (gdb_fildes_t fd);
index 18a95a7..57a1c0f 100644 (file)
@@ -23,7 +23,6 @@
 
 #include "cleanups.h"
 #include "exceptions.h"
-#include "print-utils.h"
 
 extern void initialize_utils (void);