gdb: remove unused includes

Remove a bunch of includes reported as unused by clangd.

Change-Id: I3f05f98a298036fadf1acce4ddc198405ec056ee
This commit is contained in:
Simon Marchi
2025-07-21 15:30:01 -04:00
parent 7632f493f7
commit 05ef43a2e7
6 changed files with 0 additions and 10 deletions

View File

@@ -17,7 +17,6 @@
#include "arc.h" #include "arc.h"
#include <stdlib.h>
#include <unordered_map> #include <unordered_map>
#include <string> #include <string>

View File

@@ -16,7 +16,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "loongarch.h" #include "loongarch.h"
#include <stdlib.h>
#include <unordered_map> #include <unordered_map>
/* Target description features. */ /* Target description features. */

View File

@@ -16,7 +16,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "riscv.h" #include "riscv.h"
#include <stdlib.h>
#include <unordered_map> #include <unordered_map>
#include "../features/riscv/32bit-cpu.c" #include "../features/riscv/32bit-cpu.c"

View File

@@ -60,9 +60,7 @@
#include "stap-probe.h" #include "stap-probe.h"
#include "user-regs.h" #include "user-regs.h"
#include "cli/cli-utils.h"
#include "expression.h" #include "expression.h"
#include "parser-defs.h"
#include <ctype.h> #include <ctype.h>
#include <algorithm> #include <algorithm>
#include <unordered_set> #include <unordered_set>

View File

@@ -67,7 +67,6 @@
#include "gdbsupport/scope-exit.h" #include "gdbsupport/scope-exit.h"
#include "gdbsupport/forward-scope-exit.h" #include "gdbsupport/forward-scope-exit.h"
#include "gdbsupport/gdb_select.h" #include "gdbsupport/gdb_select.h"
#include <unordered_map>
#include "async-event.h" #include "async-event.h"
#include "gdbsupport/selftest.h" #include "gdbsupport/selftest.h"
#include "scoped-mock-context.h" #include "scoped-mock-context.h"

View File

@@ -51,17 +51,13 @@
#include <pwd.h> #include <pwd.h>
#include <sys/types.h> #include <sys/types.h>
#include <dirent.h> #include <dirent.h>
#include "xml-support.h"
#include <sys/vfs.h> #include <sys/vfs.h>
#include "solib.h"
#include "nat/linux-osdata.h" #include "nat/linux-osdata.h"
#include "linux-tdep.h" #include "linux-tdep.h"
#include "symfile.h"
#include "gdbsupport/agent.h" #include "gdbsupport/agent.h"
#include "tracepoint.h" #include "tracepoint.h"
#include "target-descriptions.h" #include "target-descriptions.h"
#include "gdbsupport/filestuff.h" #include "gdbsupport/filestuff.h"
#include "objfiles.h"
#include "nat/linux-namespaces.h" #include "nat/linux-namespaces.h"
#include "gdbsupport/block-signals.h" #include "gdbsupport/block-signals.h"
#include "gdbsupport/fileio.h" #include "gdbsupport/fileio.h"