From: Tom Tromey Date: Tue, 22 May 2018 20:13:46 +0000 (-0600) Subject: Do not use buildsym.h in some files X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da6580e59c5c2c5dda086f9c407688e79377e49e;p=binutils-gdb.git 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 * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ccec301bc1a..b8fba4701f9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2018-07-20 Tom Tromey + + * 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 * buildsym.c (buildsym_compunit::buildsym_compunit): Do more diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c index a65f01f8336..6b40cb91607 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 10daef05369..71dcb237c32 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 07e1cdaf4f8..0cbd209893e 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 52130dab200..cbfa9cc03c9 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"