aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2024-04-12 18:44:38 +0000
committerSimon Marchi <simon.marchi@polymtl.ca>2024-04-19 15:07:56 -0400
commitf74d62a1bc832bd87c35e9f7b612042d0fc104f1 (patch)
tree1c793ad9fcc62bff9e5e4f39030cec027d9f14db /gdb
parentedc27e2d90a2af3afddd68e7a534afcc428719e5 (diff)
downloadgdb-f74d62a1bc832bd87c35e9f7b612042d0fc104f1.zip
gdb-f74d62a1bc832bd87c35e9f7b612042d0fc104f1.tar.gz
gdb-f74d62a1bc832bd87c35e9f7b612042d0fc104f1.tar.bz2
gdb: add includes in target-debug.h
Editing target-debug.h with clangd shows a bunch of errors. Add some includes to fix that (make target-debug.h include what it uses). Change-Id: I49075a171e6875fa516d6b2ce56b4a03ac7b3376
Diffstat (limited to 'gdb')
-rw-r--r--gdb/target-debug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/target-debug.h b/gdb/target-debug.h
index 20ba1f7..7f1b6d0 100644
--- a/gdb/target-debug.h
+++ b/gdb/target-debug.h
@@ -38,6 +38,10 @@
more simply done there, and target_xfer_partial additionally
bypasses the debug target. */
+#include "gdbsupport/x86-xstate.h"
+#include "target.h"
+#include "target/wait.h"
+#include "target/waitstatus.h"
/* Helper macro. */