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: [PATCH v2 3/5] Distinguish sentinel frame from null frame


On 11/02/2016 10:16 PM, Kevin Buettner wrote:

> --- a/gdb/frame.h
> +++ b/gdb/frame.h
> @@ -90,6 +90,9 @@ enum frame_id_stack_status
>    /* Stack address is valid, and is found in the stack_addr field.  */
>    FID_STACK_VALID = 1,
>  
> +  /* Sentinel frame.  Stack may or may not be valid.  */
> +  FID_STACK_SENTINEL = 2,

What does this "Stack may or may not be valid" comment mean?
"sentinel_frame_id" is a constant, how can the "stack_addr" field
vary?

Otherwise LGTM.

Thanks,
Pedro Alves


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