From: Joel Brobecker Date: Wed, 13 Aug 2014 18:15:00 +0000 (-0700) Subject: Add "frame.h" #include in gdbarch.h. X-Git-Tag: upstream/2.25~603 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eb7a547ad40c97ca306e29c94678e4eab1822089;p=platform%2Fupstream%2Flinaro-binutils.git 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. --- 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 + + * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct + frame_info" partial declaration. + * gdbarch.h: Regenerate. + 2014-08-15 Yao Qi * 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 <