Add "frame.h" #include in gdbarch.h.
authorJoel Brobecker <brobecker@adacore.com>
Wed, 13 Aug 2014 18:15:00 +0000 (11:15 -0700)
committerJoel Brobecker <brobecker@adacore.com>
Fri, 15 Aug 2014 12:29:33 +0000 (05:29 -0700)
This include is needed because gdbarch_dummy_id needs the full
definition of struct frame_id.

gdb/ChangeLog:

        * gdbarch.sh: #include "frame.h" in gdbarch.h.  Delete "struct
        frame_info" partial declaration.
        * gdbarch.h: Regenerate.

Tested on x86_64-linux by rebuilding GDB.

gdb/ChangeLog
gdb/gdbarch.h
gdb/gdbarch.sh

index 53cc615..6aa6592 100644 (file)
@@ -1,3 +1,9 @@
+2014-08-15  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbarch.sh: #include "frame.h" in gdbarch.h.  Delete "struct
+       frame_info" partial declaration.
+       * gdbarch.h: Regenerate.
+
 2014-08-15  Yao Qi  <yao@codesourcery.com>
 
        * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
index 5388e6e..0303b2e 100644 (file)
 #ifndef GDBARCH_H
 #define GDBARCH_H
 
+#include "frame.h"
+
 struct floatformat;
 struct ui_file;
-struct frame_info;
 struct value;
 struct objfile;
 struct obj_section;
index 61d0781..2a8bca8 100755 (executable)
@@ -1124,9 +1124,10 @@ cat <<EOF
 #ifndef GDBARCH_H
 #define GDBARCH_H
 
+#include "frame.h"
+
 struct floatformat;
 struct ui_file;
-struct frame_info;
 struct value;
 struct objfile;
 struct obj_section;