This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: request for structure documentation


A more specific question:

My code appears to be fixable by either causing the architecture specific 
unwind code to return null in frame 0, or by allowing unwind to occur here, 
but then setting the id to invalid on the unwound frame, thus preventing it 
from printing and stopping the chain of get_prev_frames.

But which is correct? This seems unclear from the comments 

thx,
NZG

On Tuesday 24 January 2006 4:29 pm, NZG wrote:
> get_prev_register appears to depend on the value of frame_unwind->this_id,
> but I can't find any documentation for what this element represents.
> Could somebody point me to some documentation or elaborate a bit?
>
> struct frame_unwind
> {
>   /* The frame's type.  Should this instead be a collection of
>      predicates that test the frame for various attributes?  */
>   enum frame_type type;
>   /* Should an attribute indicating the frame's address-in-block go
>      here?  */
>   frame_this_id_ftype *this_id;
>   frame_prev_register_ftype *prev_register;
> };
>
>
> thx,
> NZG


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]