public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb: add includes in target-debug.h
@ 2024-04-19 19:08 Simon Marchi
  0 siblings, 0 replies; only message in thread
From: Simon Marchi @ 2024-04-19 19:08 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f74d62a1bc832bd87c35e9f7b612042d0fc104f1

commit f74d62a1bc832bd87c35e9f7b612042d0fc104f1
Author: Simon Marchi <simon.marchi@efficios.com>
Date:   Fri Apr 12 18:44:38 2024 +0000

    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

Diff:
---
 gdb/target-debug.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gdb/target-debug.h b/gdb/target-debug.h
index 20ba1f73ac5..7f1b6d0bed0 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.  */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-19 19:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-19 19:08 [binutils-gdb] gdb: add includes in target-debug.h Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).