From 22459524998c672dc66fd0039d9f795dd6c7cbf9 Mon Sep 17 00:00:00 2001 From: Shahab Vahedi Date: Mon, 3 Aug 2020 20:41:42 +0200 Subject: [PATCH] arc: Add inclusion of "gdbarch.h" in "arc-tdep.h" The "arc-tdep.h" makes use of definitions in "gdbarch.h", but it does not include it explicitly. I have piggy backed this fix in another commit [1], but I was asked to do it separately [2]. [1] arc: Add hardware loop detection https://sourceware.org/pipermail/gdb-patches/2020-July/170800.html [2] Simon's remarks to "arc: Add hardware loop detection" https://sourceware.org/pipermail/gdb-patches/2020-August/170993.html gdb/ChangeLog: * arc-tdep.h: Include "gdbarch.h". --- gdb/ChangeLog | 4 ++++ gdb/arc-tdep.h | 1 + 2 files changed, 5 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ec936d7ccd4..c7e8cfd3bf6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-08-25 Shahab Vahedi + + * arc-tdep.h: Include "gdbarch.h". + 2020-08-25 Shahab Vahedi * arch/arc.h diff --git a/gdb/arc-tdep.h b/gdb/arc-tdep.h index 6ca759a661d..5968abd4600 100644 --- a/gdb/arc-tdep.h +++ b/gdb/arc-tdep.h @@ -23,6 +23,7 @@ /* Need disassemble_info. */ #include "dis-asm.h" +#include "gdbarch.h" #include "arch/arc.h" /* To simplify GDB code this enum assumes that internal regnums should be same -- 2.30.2