diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2022-12-13 22:34:31 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-01-20 14:48:56 -0500 |
commit | 83b6e1f1c52c632a7b554674306cc586e03f7855 (patch) | |
tree | 58b7e560c3def532953945c2000076d8780d2a02 /gdb/python | |
parent | 6ad66f21fc6d839966abfb84738f8e992c7bb193 (diff) | |
download | gdb-83b6e1f1c52c632a7b554674306cc586e03f7855.zip gdb-83b6e1f1c52c632a7b554674306cc586e03f7855.tar.gz gdb-83b6e1f1c52c632a7b554674306cc586e03f7855.tar.bz2 |
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>
Diffstat (limited to 'gdb/python')
-rw-r--r-- | gdb/python/py-disasm.c | 1 | ||||
-rw-r--r-- | gdb/python/py-frame.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gdb/python/py-disasm.c b/gdb/python/py-disasm.c index 13ac85c..c3d8d8a 100644 --- a/gdb/python/py-disasm.c +++ b/gdb/python/py-disasm.c @@ -19,6 +19,7 @@ #include "defs.h" #include "python-internal.h" +#include "language.h" #include "dis-asm.h" #include "arch-utils.h" #include "charset.h" diff --git a/gdb/python/py-frame.c b/gdb/python/py-frame.c index 6d4e8c2..f66d22b 100644 --- a/gdb/python/py-frame.c +++ b/gdb/python/py-frame.c @@ -18,6 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "defs.h" +#include "language.h" #include "charset.h" #include "block.h" #include "frame.h" |