x86_64 unwinder in libgcc_s

Richard Henderson rth@redhat.com
Mon Aug 6 18:40:00 GMT 2012


On 08/06/2012 08:23 AM, Dmitri Shubin wrote:
>     char *cfa = (char *) _Unwind_GetCFA(ctx);
>     printf("cfa = %p\nra = %p\n", cfa, *(void **)(cfa - 8));

Use _Unwind_GetIP here, for one.


r~



More information about the Gcc mailing list