gdb: remove language.h include from frame.h
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 14 Dec 2022 03:34:31 +0000 (22:34 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 20 Jan 2023 19:48:56 +0000 (14:48 -0500)
commit83b6e1f1c52c632a7b554674306cc586e03f7855
tree58b7e560c3def532953945c2000076d8780d2a02
parent6ad66f21fc6d839966abfb84738f8e992c7bb193
gdb: remove language.h include from frame.h

This helps resolve some cyclic include problem later in the series.
The only language-related thing frame.h needs is enum language, and that
is in defs.h.

Doing so reveals that a bunch of files were relying on frame.h to
include language.h, so fix the fallouts here and there.

Change-Id: I178a7efec1953c2d088adb58483bade1f349b705
Reviewed-By: Bruno Larsen <blarsen@redhat.com>
16 files changed:
gdb/aarch64-tdep.c
gdb/amd64-tdep.c
gdb/arm-tdep.c
gdb/cp-abi.c
gdb/cp-support.c
gdb/expop.h
gdb/f-lang.h
gdb/frame.h
gdb/gnu-v3-abi.c
gdb/go-lang.h
gdb/m2-typeprint.c
gdb/namespace.c
gdb/ppc-sysv-tdep.c
gdb/python/py-disasm.c
gdb/python/py-frame.c
gdb/thread.c