libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] unw_init_local() with a signal frame context.


From: Arun Sharma
Subject: Re: [Libunwind-devel] unw_init_local() with a signal frame context.
Date: Mon, 22 Dec 2014 14:22:33 +0530

One thing that could be improved in libunwind is to understand if the
signal was generated by a fault or a trap and set the value of
use_prev_instr accordingly. Faults are generated before the IP is
updated to the next instruction and traps are generated after.

Don't know of a generic way for kernel to communicate this piece of
info to libunwind. The other alternative is to have an OS specific
table of signals -> trap/fault boolean.

 -Arun



reply via email to

[Prev in Thread] Current Thread [Next in Thread]