aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-12-13 22:34:31 -0500
committerSimon Marchi <simon.marchi@efficios.com>2023-01-20 14:48:56 -0500
commit83b6e1f1c52c632a7b554674306cc586e03f7855 (patch)
tree58b7e560c3def532953945c2000076d8780d2a02 /gdb/thread.c
parent6ad66f21fc6d839966abfb84738f8e992c7bb193 (diff)
downloadgdb-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/thread.c')
-rw-r--r--gdb/thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/thread.c b/gdb/thread.c
index efcbe64..1a852f7 100644
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -20,6 +20,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "defs.h"
+#include "language.h"
#include "symtab.h"
#include "frame.h"
#include "inferior.h"