From 6ad66f21fc6d839966abfb84738f8e992c7bb193 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 13 Dec 2022 22:34:30 -0500 Subject: gdb: move compile_instance to compile/compile.h struct compile_instance needs to be visible to users, since we use std::unique. language.c and c-lang.c currently includes compile-internal.h for this reason, which kind of defeats the purpose of having an "internal" header file. Change-Id: Iedffe5f1173b3de7bdc1be533ee2a68e6f6c549f Reviewed-By: Bruno Larsen --- gdb/c-lang.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gdb/c-lang.c') diff --git a/gdb/c-lang.c b/gdb/c-lang.c index ef2272e..a6d912a 100644 --- a/gdb/c-lang.c +++ b/gdb/c-lang.c @@ -36,7 +36,6 @@ #include #include "gdbcore.h" #include "gdbarch.h" -#include "compile/compile-internal.h" #include "c-exp.h" /* Given a C string type, STR_TYPE, return the corresponding target -- cgit v1.1