gdb: move compile_instance to compile/compile.h
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 14 Dec 2022 03:34:30 +0000 (22:34 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 20 Jan 2023 19:48:56 +0000 (14:48 -0500)
commit6ad66f21fc6d839966abfb84738f8e992c7bb193
treebe36f3602fea8636c5a26c7a05075606e9825dfc
parentc85555b1a8676145695cf5783df4d95c509ed82f
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>
gdb/c-lang.c
gdb/c-lang.h
gdb/compile/compile-c.h
gdb/compile/compile-cplus.h
gdb/compile/compile-internal.h
gdb/compile/compile.h
gdb/language.c