diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2022-12-13 22:34:30 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-01-20 14:48:56 -0500 |
commit | 6ad66f21fc6d839966abfb84738f8e992c7bb193 (patch) | |
tree | be36f3602fea8636c5a26c7a05075606e9825dfc /gdb/c-lang.h | |
parent | c85555b1a8676145695cf5783df4d95c509ed82f (diff) | |
download | gdb-6ad66f21fc6d839966abfb84738f8e992c7bb193.zip gdb-6ad66f21fc6d839966abfb84738f8e992c7bb193.tar.gz gdb-6ad66f21fc6d839966abfb84738f8e992c7bb193.tar.bz2 |
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>
Diffstat (limited to 'gdb/c-lang.h')
-rw-r--r-- | gdb/c-lang.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/c-lang.h b/gdb/c-lang.h index 024a302..8a82606 100644 --- a/gdb/c-lang.h +++ b/gdb/c-lang.h @@ -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" |