[Patch] Fix 'incomplete type' warning in dummy_frame.h
David Daney
ddaney@avtrex.com
Mon Sep 8 01:00:00 GMT 2008
Back on 2008-08-26, Ulrich Weigand added a declaration for
dummy_frame_pop to dummy_frame.h. This causes a fatal warning when I
build with gcc-3.4 targeting mipsel-linux-gnu because struct frame_id is
an incomplete type.
Adding #include "frame.h" fixes the problem for me.
I'm don'e think I have write access to gdb (I do have it in binutils),
so if it is OK, someone will either have to commit it or turn on write
access for me.
2008-09-07 David Daney <ddaney@avtrex.com>
* dummy-frame.h (frame.h): Include it.
(struct frame_id): Remove declaration.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dummy_frame.h.patch
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20080908/343708af/attachment.ksh>
More information about the Gdb-patches
mailing list