summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2014-08-13 11:15:00 -0700
committerEli Zaretskii <eliz@gnu.org>2014-08-15 17:15:04 +0300
commit9fa0b6f635406d5e5113aa1eef58e9875b765874 (patch)
tree778b5b2f94194647a5668a02412aa2ba12f0e56c /gdb
parent81daba35d51f82dda563eaf4d520005dfe0b35d7 (diff)
downloadbinutils-gdb-9fa0b6f635406d5e5113aa1eef58e9875b765874.tar.gz
Add "frame.h" #include in gdbarch.h.
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)
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/gdbarch.h3
-rwxr-xr-xgdb/gdbarch.sh3
3 files changed, 10 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cb64b18eb84..39349ba0317 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h
index c621091aa4a..2fbb7672cda 100644
--- a/gdb/gdbarch.h
+++ b/gdb/gdbarch.h
@@ -35,9 +35,10 @@
#ifndef GDBARCH_H
#define GDBARCH_H
+#include "frame.h"
+
struct floatformat;
struct ui_file;
-struct frame_info;
struct value;
struct objfile;
struct obj_section;
diff --git a/gdb/gdbarch.sh b/gdb/gdbarch.sh
index 9f357b67191..4e0fc4110d5 100755
--- a/gdb/gdbarch.sh
+++ b/gdb/gdbarch.sh
@@ -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;