mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-28 14:08:09 +08:00
Move libiberty.h to common-defs.h
This commit moves the inclusion of libiberty.h to common-defs.h and removes all other inclusions. gdb/ 2014-08-07 Gary Benson <gbenson@redhat.com> * common/common-defs.h: Include libiberty.h. * defs.h: Do not include libiberty.h. * common/queue.h: Likewise. * cp-name-parser.y: Likewise. * mi/mi-cmd-catch.c: Likewise. * python/python.c: Likewise. gdb/gdbserver/ 2014-08-07 Gary Benson <gbenson@redhat.com> * server.h: Do not include libiberty.h. * linux-bfin-low.c: Likewise.
This commit is contained in:
@ -1,3 +1,12 @@
|
||||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||||
|
||||
* common/common-defs.h: Include libiberty.h.
|
||||
* defs.h: Do not include libiberty.h.
|
||||
* common/queue.h: Likewise.
|
||||
* cp-name-parser.y: Likewise.
|
||||
* mi/mi-cmd-catch.c: Likewise.
|
||||
* python/python.c: Likewise.
|
||||
|
||||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||||
|
||||
* common/common-defs.h: Include ansidecl.h.
|
||||
|
@ -32,5 +32,6 @@
|
||||
#include <stdarg.h>
|
||||
#include <stddef.h>
|
||||
#include "ansidecl.h"
|
||||
#include "libiberty.h"
|
||||
|
||||
#endif /* COMMON_DEFS_H */
|
||||
|
@ -20,7 +20,6 @@
|
||||
#ifndef QUEUE_H
|
||||
#define QUEUE_H
|
||||
|
||||
#include "libiberty.h" /* xmalloc */
|
||||
#include "gdb_assert.h"
|
||||
|
||||
/* These macros implement functions and structs for a general queue.
|
||||
|
@ -35,7 +35,6 @@
|
||||
#include <string.h>
|
||||
|
||||
#include "safe-ctype.h"
|
||||
#include "libiberty.h"
|
||||
#include "demangle.h"
|
||||
#include "cp-support.h"
|
||||
#include "gdb_assert.h"
|
||||
|
@ -83,7 +83,6 @@
|
||||
#define O_BINARY 0
|
||||
#endif
|
||||
|
||||
#include "libiberty.h"
|
||||
#include "hashtab.h"
|
||||
|
||||
/* Rather than duplicate all the logic in BFD for figuring out what
|
||||
|
@ -1,3 +1,8 @@
|
||||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||||
|
||||
* server.h: Do not include libiberty.h.
|
||||
* linux-bfin-low.c: Likewise.
|
||||
|
||||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||||
|
||||
* server.h: Do not include ansidecl.h.
|
||||
|
@ -21,7 +21,6 @@
|
||||
|
||||
#include "server.h"
|
||||
#include "linux-low.h"
|
||||
#include "libiberty.h"
|
||||
#include <asm/ptrace.h>
|
||||
|
||||
/* Defined in auto-generated file reg-bfin.c. */
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "wincecompat.h"
|
||||
#endif
|
||||
|
||||
#include "libiberty.h"
|
||||
#include "version.h"
|
||||
|
||||
#ifdef HAVE_ERRNO_H
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "arch-utils.h"
|
||||
#include "breakpoint.h"
|
||||
#include "gdb.h"
|
||||
#include "libiberty.h"
|
||||
#include "ada-lang.h"
|
||||
#include "mi-cmds.h"
|
||||
#include "mi-getopt.h"
|
||||
|
@ -86,7 +86,6 @@ const struct extension_language_defn extension_language_python =
|
||||
|
||||
#ifdef HAVE_PYTHON
|
||||
|
||||
#include "libiberty.h"
|
||||
#include "cli/cli-decode.h"
|
||||
#include "charset.h"
|
||||
#include "top.h"
|
||||
|
Reference in New Issue
Block a user