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 --- gdbsupport/errors.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'gdbsupport/errors.cc') diff --git a/gdbsupport/errors.cc b/gdbsupport/errors.cc index cccdc5c..c11229a 100644 --- a/gdbsupport/errors.cc +++ b/gdbsupport/errors.cc @@ -17,7 +17,6 @@ You should have received a copy of the GNU General Public License along with this program. If not, see . */ -#include "common-defs.h" #include "errors.h" #if defined (USE_WIN32API) || defined(__CYGWIN__) #include -- cgit v1.1