diff options
author | Shahab Vahedi <shahab@synopsys.com> | 2020-08-03 20:41:42 +0200 |
---|---|---|
committer | Shahab Vahedi <shahab@synopsys.com> | 2020-08-25 17:31:29 +0200 |
commit | 22459524998c672dc66fd0039d9f795dd6c7cbf9 (patch) | |
tree | 31f7c5d5291dffcd83e7ebc079b22359f6313dd9 /gdb/arc-tdep.h | |
parent | 995d3a197d7a7c0212efb6ee723dc470ab3d3a82 (diff) | |
download | gdb-22459524998c672dc66fd0039d9f795dd6c7cbf9.zip gdb-22459524998c672dc66fd0039d9f795dd6c7cbf9.tar.gz gdb-22459524998c672dc66fd0039d9f795dd6c7cbf9.tar.bz2 |
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".
Diffstat (limited to 'gdb/arc-tdep.h')
-rw-r--r-- | gdb/arc-tdep.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/arc-tdep.h b/gdb/arc-tdep.h index 6ca759a..5968abd 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 |