aboutsummaryrefslogtreecommitdiff
path: root/gdb/c-lang.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-12-13 22:34:30 -0500
committerSimon Marchi <simon.marchi@efficios.com>2023-01-20 14:48:56 -0500
commit6ad66f21fc6d839966abfb84738f8e992c7bb193 (patch)
treebe36f3602fea8636c5a26c7a05075606e9825dfc /gdb/c-lang.h
parentc85555b1a8676145695cf5783df4d95c509ed82f (diff)
downloadgdb-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.h1
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"