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.c | |
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.c')
-rw-r--r-- | gdb/c-lang.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 <ctype.h> #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 |