Remove some unused includes
authorTom Tromey <tom@tromey.com>
Thu, 19 Jan 2023 18:08:06 +0000 (11:08 -0700)
committerTom Tromey <tom@tromey.com>
Thu, 19 Jan 2023 18:09:10 +0000 (11:09 -0700)
I noticed a few spots that include gnu-stabs.h but that do not need
to.  This patch removes these unnecessary includes.  Tested by
rebuilding.

gdb/objfiles.c
gdb/remote.c
gdb/symfile.c

index 411bf121edef71a8d1222abc1378cb048fb74cc5..8e920c726f5f06f44901886fd59b3c0e253ed3d2 100644 (file)
@@ -27,7 +27,6 @@
 #include "symtab.h"
 #include "symfile.h"
 #include "objfiles.h"
-#include "gdb-stabs.h"
 #include "target.h"
 #include "bcache.h"
 #include "expression.h"
index 218bca30d047dec819bccfb97ee6770f34d8632e..0a6e293c0955f81105d9465489feb538e6919fdf 100644 (file)
@@ -30,7 +30,6 @@
 #include "process-stratum-target.h"
 #include "gdbcmd.h"
 #include "objfiles.h"
-#include "gdb-stabs.h"
 #include "gdbthread.h"
 #include "remote.h"
 #include "remote-notif.h"
index e0942dfb22d69f982a5a1e9d8a5b943a04b30065..3e1aa40531944f4306324b6ad23c47be8003e1cb 100644 (file)
@@ -39,7 +39,6 @@
 #include "inferior.h"
 #include "regcache.h"
 #include "filenames.h"         /* for DOSish file names */
-#include "gdb-stabs.h"
 #include "gdbsupport/gdb_obstack.h"
 #include "completer.h"
 #include "bcache.h"