gdb: move compile_instance to compile/compile.h

struct compile_instance needs to be visible to users, since we use
std::unique<compile_instance>.  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 <blarsen@redhat.com>
This commit is contained in:
Simon Marchi
2022-12-13 22:34:30 -05:00
parent c85555b1a8
commit 6ad66f21fc
7 changed files with 119 additions and 118 deletions

View File

@ -26,6 +26,7 @@ struct language_arch_info;
struct type_print_options;
struct parser_state;
#include "compile/compile.h"
#include "value.h"
#include "macroexp.h"
#include "gdbsupport/enum-flags.h"