]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: remove unused includes in inferior.h
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 19 Aug 2025 20:00:22 +0000 (16:00 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 19 Aug 2025 20:05:02 +0000 (16:05 -0400)
gdbsupport/common-inferior.h was needed by a few .c files, so move it
there.

Change-Id: Ia3ab8c30b529a1eda09862c8faea9e8c1c8123b5

gdb/infcmd.c
gdb/inferior.c
gdb/inferior.h
gdb/main.c
gdb/remote.c

index b5e5909cb275212a35ebe29bb51b574e96da594b..89f9205c5bac0aa1c4642e6b43062c479bb462a6 100644 (file)
@@ -25,6 +25,7 @@
 #include "inferior.h"
 #include "infrun.h"
 #include "gdbsupport/environ.h"
+#include "gdbsupport/common-inferior.h"
 #include "value.h"
 #include "cli/cli-cmds.h"
 #include "cli/cli-style.h"
index e8a28cd2a0e1a4f76946d4fc9c1abdfab08b5d3e..eb895f216914987bef9f0997b25a31f4944e0b4e 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "exec.h"
 #include "inferior.h"
+#include "gdbsupport/common-inferior.h"
 #include "target.h"
 #include "command.h"
 #include "completer.h"
index fe94e289bdc741e4763461e2df44e4153b6f5e12..8455b791866769002cd30a586a8e9d9f56e631fe 100644 (file)
@@ -54,10 +54,8 @@ struct thread_info;
 #include "symfile-add-flags.h"
 #include "gdbsupport/refcounted-object.h"
 #include "gdbsupport/forward-scope-exit.h"
-#include "gdbsupport/gdb_unique_ptr.h"
 #include "gdbsupport/intrusive_list.h"
 
-#include "gdbsupport/common-inferior.h"
 #include "gdbthread.h"
 
 #include "process-stratum-target.h"
index 8c5ef99f8190ae535776680767180a0cdb66b349..eac708955806ea496c770d8980c34d5e9822edc3 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "annotate.h"
 #include "exceptions.h"
+#include "gdbsupport/common-inferior.h"
 #include "top.h"
 #include "ui.h"
 #include "target.h"
index 6208a90f94a70bf25b0e16cfc4dcce1e01f28828..7c9950cd2662a7be03c4830c427be61bb552899f 100644 (file)
@@ -22,6 +22,7 @@
 #include <ctype.h>
 #include <fcntl.h>
 #include "exceptions.h"
+#include "gdbsupport/common-inferior.h"
 #include "inferior.h"
 #include "infrun.h"
 #include "bfd.h"