aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-07-30 16:14:21 +0100
committerGary Benson <gbenson@redhat.com>2014-08-19 10:07:19 +0100
commitf6e94d78b2fe30977ffefcb26420109940ca7bb1 (patch)
tree5368e53f75fbd81a7259dd7755c28b79b499cbc2
parent9239eeabe340e1662c5df8f816785477309e1c0b (diff)
downloadfsf-binutils-gdb-f6e94d78b2fe30977ffefcb26420109940ca7bb1.zip
fsf-binutils-gdb-f6e94d78b2fe30977ffefcb26420109940ca7bb1.tar.gz
fsf-binutils-gdb-f6e94d78b2fe30977ffefcb26420109940ca7bb1.tar.bz2
Move print-utils.h to common-defs.h
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/common/common-defs.h1
-rw-r--r--gdb/gdbserver/ChangeLog4
-rw-r--r--gdb/gdbserver/utils.h2
-rw-r--r--gdb/utils.h1
5 files changed, 10 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4c8b76b..bab7cf1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h
index 5543e4c..66c0d21 100644
--- a/gdb/common/common-defs.h
+++ b/gdb/common/common-defs.h
@@ -43,5 +43,6 @@
#include "gdb_assert.h"
#include "errors.h"
#include "common-types.h"
+#include "print-utils.h"
#endif /* COMMON_DEFS_H */
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog
index 81db69a..14b5a4f 100644
--- a/gdb/gdbserver/ChangeLog
+++ b/gdb/gdbserver/ChangeLog
@@ -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>
diff --git a/gdb/gdbserver/utils.h b/gdb/gdbserver/utils.h
index a994f38..cdd80df 100644
--- a/gdb/gdbserver/utils.h
+++ b/gdb/gdbserver/utils.h
@@ -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);
diff --git a/gdb/utils.h b/gdb/utils.h
index 18a95a7..57a1c0f 100644
--- a/gdb/utils.h
+++ b/gdb/utils.h
@@ -23,7 +23,6 @@
#include "cleanups.h"
#include "exceptions.h"
-#include "print-utils.h"
extern void initialize_utils (void);