dwarf-frame.c question

Richard Henderson rth@redhat.com
Tue Jun 3 05:47:00 GMT 2003


On Mon, Jun 02, 2003 at 07:03:56PM -0500, Jim Blandy wrote:
>     The DW_CFA_GNU_unwind_from_noreturn instruction indicates that the
>     current set of rules applies only when the current location was
>     reached by unwinding a frame called by this one, not when it was
>     reached from elsewhere in the subroutine.
> 
>     The DW_CFA_GNU_unwind_from_noreturn instruction also creates a new
>     table row whose location value is the same as this one; this
>     latter row applies when the given location was reached from
>     elsewhere in the same subroutine.

So the effect would be that in the "normal" case we'd continue
evaluating CFA opcodes as usual until we get to an advance that
moves past the PC.

The debugger, on the other hand, would have to know that we are
unwinding from deeper in the call stack, and set a special flag
that would stop at the new note?


r~



More information about the Gdb mailing list