summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-19 11:08:06 -0700
committerTom Tromey <tom@tromey.com>2023-01-19 11:09:10 -0700
commit5ea14aa4e53fa37f4ba4517497ed2c1e4c60dee2 (patch)
tree852c4d8c252148b301f6cc66b8e68cab8a50dea5
parentea2f6fad7e104fb65da6a438bb0ec753210f1e90 (diff)
downloadbinutils-gdb-5ea14aa4e53fa37f4ba4517497ed2c1e4c60dee2.tar.gz
Remove some unused includes
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.
-rw-r--r--gdb/objfiles.c1
-rw-r--r--gdb/remote.c1
-rw-r--r--gdb/symfile.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index 411bf121ede..8e920c726f5 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -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"
diff --git a/gdb/remote.c b/gdb/remote.c
index 218bca30d04..0a6e293c095 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -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"
diff --git a/gdb/symfile.c b/gdb/symfile.c
index e0942dfb22d..3e1aa405319 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -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"