diff options
author | Joel Brobecker <brobecker@adacore.com> | 2014-08-13 11:15:00 -0700 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2014-08-15 05:29:33 -0700 |
commit | eb7a547ad40c97ca306e29c94678e4eab1822089 (patch) | |
tree | f9d4a723ba7d2f55c93143cebcfdb4e6063b8979 | |
parent | ebcc6c3a7b5021bab3cc30e9b7d4c340153a0c32 (diff) | |
download | gdb-eb7a547ad40c97ca306e29c94678e4eab1822089.zip gdb-eb7a547ad40c97ca306e29c94678e4eab1822089.tar.gz gdb-eb7a547ad40c97ca306e29c94678e4eab1822089.tar.bz2 |
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.
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/gdbarch.h | 3 | ||||
-rwxr-xr-x | gdb/gdbarch.sh | 3 |
3 files changed, 10 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 53cc615..6aa6592 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-15 Yao Qi <yao@codesourcery.com> * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'. diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 5388e6e..0303b2e 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 61d0781..2a8bca8 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; |