From: Gary Benson Date: Wed, 30 Jul 2014 15:14:21 +0000 (+0100) Subject: Move print-utils.h to common-defs.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6e94d78b2fe30977ffefcb26420109940ca7bb1;p=binutils-gdb.git 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4c8b76b2b87..bab7cf18fa2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2014-08-19 Gary Benson + + * common/common-defs.h: Include print-utils.h. + * utils.h: Do not include print-utils.h. + 2014-08-19 Tom Tromey Gary Benson diff --git a/gdb/common/common-defs.h b/gdb/common/common-defs.h index 5543e4c56bd..66c0d2134e5 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 81db69a6d87..14b5a4f9407 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2014-08-19 Gary Benson + + * utils.h: Do not include print-utils.h. + 2014-08-19 Tom Tromey Gary Benson diff --git a/gdb/gdbserver/utils.h b/gdb/gdbserver/utils.h index a994f3827aa..cdd80df145c 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 18a95a77404..57a1c0ff779 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);