arc: Add inclusion of "gdbarch.h" in "arc-tdep.h"
authorShahab Vahedi <shahab@synopsys.com>
Mon, 3 Aug 2020 18:41:42 +0000 (20:41 +0200)
committerShahab Vahedi <shahab@synopsys.com>
Tue, 25 Aug 2020 15:31:29 +0000 (17:31 +0200)
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
gdb/arc-tdep.h

index ec936d7ccd4c75a926bca4eb0f050b88b962a940..c7e8cfd3bf6d1077137de388cdba0300ce3f4e86 100644 (file)
@@ -1,3 +1,7 @@
+2020-08-25  Shahab Vahedi  <shahab@synopsys.com>
+
+       * arc-tdep.h: Include "gdbarch.h".
+
 2020-08-25  Shahab Vahedi  <shahab@synopsys.com>
 
        * arch/arc.h
index 6ca759a661d4bbd1a59dbde88820646f99c90e8d..5968abd4600a2d46e89639b92ba14102eb29bc8f 100644 (file)
@@ -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
This page took 0.032715 seconds and 4 git commands to generate.