[PATCH] Make _Unwind_GetIPInfo part of the ABI

Florian Weimer fweimer@redhat.com
Fri Jan 1 00:00:00 GMT 2016


On 10/21/2016 08:37 PM, H.J. Lu wrote:

>> It's not really clear to me how the glibc unwinders tell traps from faults.

(I meant to write “gcc unwinders”.)

> We can set signal_frame to 0 for SIGCANCEL?

No, SIGCANCEL is a signal frame for all intents in purposes.  (The bug 
was that __gcc_personality_v0 (the C unwinder) completely ignored signal 
frame hints on all architectures.)

The question if INTO should result in a signal frame.  Per Michael's 
comments, it should not because it is a trap and gets reported at the 
immediately following address (which can be in a completely different 
exception handling region).

Thanks,
Florian



More information about the Gnu-gabi mailing list