aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2023-09-28 13:47:45 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2023-09-28 21:18:12 -0400
commitc1cd9664073acfdc5096617cddcfd562dd2b1642 (patch)
tree7acf72094432efe05832b27fd864bd65ec8535ea /gdb/solib.c
parent2e75eb583e23ff7ae6a8038014314c43b31595ff (diff)
downloadgdb-c1cd9664073acfdc5096617cddcfd562dd2b1642.zip
gdb-c1cd9664073acfdc5096617cddcfd562dd2b1642.tar.gz
gdb-c1cd9664073acfdc5096617cddcfd562dd2b1642.tar.bz2
gdb: remove unused imports in solib*.[ch]
I'm starting to work on these files, I thought it would be a good time to remove unused imports. These were identified by include-what-you-use. Tested by rebuilding. Change-Id: I3eaf3fa0ea3506c7ecfbc8ecff5031433b1dadb8 Reviewed-By: John Baldwin <jhb@FreeBSD.org>
Diffstat (limited to 'gdb/solib.c')
-rw-r--r--gdb/solib.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index 771954e..e2636f0 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -19,7 +19,6 @@
#include "defs.h"
-#include <sys/types.h>
#include <fcntl.h>
#include "symtab.h"
#include "bfd.h"
@@ -30,12 +29,9 @@
#include "command.h"
#include "target.h"
#include "frame.h"
-#include "gdbsupport/gdb_regex.h"
#include "inferior.h"
#include "gdbsupport/environ.h"
-#include "language.h"
-#include "gdbcmd.h"
-#include "completer.h"
+#include "cli/cli-cmds.h"
#include "elf/external.h"
#include "elf/common.h"
#include "filenames.h"
@@ -43,7 +39,6 @@
#include "solist.h"
#include "observable.h"
#include "readline/tilde.h"
-#include "remote.h"
#include "solib.h"
#include "interps.h"
#include "filesystem.h"
@@ -53,7 +48,6 @@
#include "debuginfod-support.h"
#include "source.h"
#include "cli/cli-style.h"
-#include "solib-target.h"
/* See solib.h. */