This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 35/42] Do not use buildsym.h in some files
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tom at tromey dot com>
- Date: Tue, 22 May 2018 22:58:44 -0600
- Subject: [RFA 35/42] Do not use buildsym.h in some files
- References: <20180523045851.11660-1-tom@tromey.com>
A few files no longer need to include buildsym.h.
2018-05-22 Tom Tromey <tom@tromey.com>
* arch-utils.c: Do not include buildsym.h.
* mipsread.c: Do not include buildsym.h.
* machoread.c: Do not include buildsym.h.
* elfread.c: Do not include buildsym.h.
---
gdb/ChangeLog | 7 +++++++
gdb/arch-utils.c | 1 -
gdb/elfread.c | 1 -
gdb/machoread.c | 1 -
gdb/mipsread.c | 1 -
5 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index e3cce491ee..0b7aff182b 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -20,7 +20,6 @@
#include "defs.h"
#include "arch-utils.h"
-#include "buildsym.h"
#include "gdbcmd.h"
#include "inferior.h" /* enum CALL_DUMMY_LOCATION et al. */
#include "infrun.h"
diff --git a/gdb/elfread.c b/gdb/elfread.c
index 9bbd0c85e4..6b87f28fb8 100644
--- a/gdb/elfread.c
+++ b/gdb/elfread.c
@@ -28,7 +28,6 @@
#include "symtab.h"
#include "symfile.h"
#include "objfiles.h"
-#include "buildsym.h"
#include "stabsread.h"
#include "gdb-stabs.h"
#include "complaints.h"
diff --git a/gdb/machoread.c b/gdb/machoread.c
index 230bd860a4..d2a4e24bd4 100644
--- a/gdb/machoread.c
+++ b/gdb/machoread.c
@@ -24,7 +24,6 @@
#include "bfd.h"
#include "symfile.h"
#include "objfiles.h"
-#include "buildsym.h"
#include "gdbcmd.h"
#include "gdbcore.h"
#include "mach-o.h"
diff --git a/gdb/mipsread.c b/gdb/mipsread.c
index 52130dab20..cbfa9cc03c 100644
--- a/gdb/mipsread.c
+++ b/gdb/mipsread.c
@@ -27,7 +27,6 @@
#include "bfd.h"
#include "symtab.h"
#include "objfiles.h"
-#include "buildsym.h"
#include "stabsread.h"
#include "coff/sym.h"
--
2.13.6