Add "frame.h" #include in gdbarch.h.
authorJoel Brobecker <brobecker@adacore.com>
Wed, 13 Aug 2014 18:15:00 +0000 (11:15 -0700)
committerEli Zaretskii <eliz@gnu.org>
Fri, 15 Aug 2014 14:15:04 +0000 (17:15 +0300)
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.

(cherry picked from commit eb7a547ad40c97ca306e29c94678e4eab1822089)

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

index cb64b18..39349ba 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-13  Yao Qi  <yao@codesourcery.com>
 
        PR build/17104
index c621091..2fbb767 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 9f357b6..4e0fc41 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;