On Thu, Jan 26, 2012 at 5:03 PM, Siddharth Bhojnagarwala
<[email protected]> wrote:

>
> Why does libunwind choke if a signal to do profiling fires in middle of
> pthread_mutex_lock?  I am also not clear on the solution that gperf offers,
> can someone please advise me further on that?

src/mips/Gis_signal_frame.c is not implemented. You'll need to
implement it along the lines of x86.

This could be done by looking for specific instructions on the stack
(eg: ARM) or by recognizing dwarf unwind information (x86). The latter
is a better method - but doesn't work on old glibcs with missing
annotation.

Also see dwarf/Gfde.c where dci->signal_frame is computed.

 -Arun

_______________________________________________
Libunwind-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to