[RFA,35/42] Do not use buildsym.h in some files
Commit Message
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(-)
Comments
On 2018-05-23 12:58 AM, Tom Tromey wrote:
> A few files no longer need to include buildsym.h.
I gave a quick glance at those files, I indeed didn't
find anything relying on buildsym.h, so LGTM.
Simon
@@ -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"
@@ -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"
@@ -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"
@@ -27,7 +27,6 @@
#include "bfd.h"
#include "symtab.h"
#include "objfiles.h"
-#include "buildsym.h"
#include "stabsread.h"
#include "coff/sym.h"