]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: add includes in target-debug.h
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 12 Apr 2024 18:44:38 +0000 (18:44 +0000)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 19 Apr 2024 19:07:56 +0000 (15:07 -0400)
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

gdb/target-debug.h

index 20ba1f73ac53b1d7f9e3e605c3d6da469a39eb3e..7f1b6d0bed026bdf81292e5b0b8c8190517d5088 100644 (file)
    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.  */