From 18d2988e5da8919514c76b83e2c0b56e439018bd Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 26 Mar 2024 15:06:46 -0400 Subject: gdb, gdbserver, gdbsupport: remove includes of early headers Now that defs.h, server.h and common-defs.h are included via the `-include` option, it is no longer necessary for source files to include them. Remove all the inclusions of these files I could find. Update the generation scripts where relevant. Change-Id: Ia026cff269c1b7ae7386dd3619bc9bb6a5332837 Approved-By: Pedro Alves --- gdb/unittests/parallel-for-selftests.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gdb/unittests/parallel-for-selftests.c') diff --git a/gdb/unittests/parallel-for-selftests.c b/gdb/unittests/parallel-for-selftests.c index a9abbf0..0261948 100644 --- a/gdb/unittests/parallel-for-selftests.c +++ b/gdb/unittests/parallel-for-selftests.c @@ -24,7 +24,6 @@ FOR_EACH. The FOR_EACH-defined part reads like a regular function. */ #ifndef FOR_EACH -#include "defs.h" #include "gdbsupport/selftest.h" #include "gdbsupport/parallel-for.h" -- cgit v1.1