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.
This commit is contained in:
Gary Benson 2014-07-30 16:14:21 +01:00
parent 9239eeabe3
commit f6e94d78b2
5 changed files with 10 additions and 3 deletions

View 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>

View File

@ -43,5 +43,6 @@
#include "gdb_assert.h"
#include "errors.h"
#include "common-types.h"
#include "print-utils.h"
#endif /* COMMON_DEFS_H */

View 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>

View 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);

View File

@ -23,7 +23,6 @@
#include "cleanups.h"
#include "exceptions.h"
#include "print-utils.h"
extern void initialize_utils (void);