aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-22 14:13:46 -0600
committerTom Tromey <tom@tromey.com>2018-07-20 09:42:51 -0600
commitda6580e59c5c2c5dda086f9c407688e79377e49e (patch)
tree8818a7f21048016bf156ba36b97c4f651b4f61e0
parent4a2125f531114e80d68334a67f2d4ea2335a865d (diff)
downloadgdb-da6580e59c5c2c5dda086f9c407688e79377e49e.zip
gdb-da6580e59c5c2c5dda086f9c407688e79377e49e.tar.gz
gdb-da6580e59c5c2c5dda086f9c407688e79377e49e.tar.bz2
Do not use buildsym.h in some files
A few files no longer need to include buildsym.h. gdb/ChangeLog 2018-07-20 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.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/arch-utils.c1
-rw-r--r--gdb/elfread.c1
-rw-r--r--gdb/machoread.c1
-rw-r--r--gdb/mipsread.c1
5 files changed, 7 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ccec301..b8fba47 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,12 @@
2018-07-20 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.
+
+2018-07-20 Tom Tromey <tom@tromey.com>
+
* buildsym.c (buildsym_compunit::buildsym_compunit): Do more
initialization.
(buildsym_compunit): Add new constructor.
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index a65f01f..6b40cb91 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 10daef0..71dcb23 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 07e1cda..0cbd209 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 52130da..cbfa9cc 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"