libunwind-devel
[Top][All Lists]
Advanced

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

Re: [Libunwind-devel] Reg: Libunwind with threads lib and system calls


From: Arun Sharma
Subject: Re: [Libunwind-devel] Reg: Libunwind with threads lib and system calls
Date: Wed, 22 Feb 2012 07:33:14 -0800

On Tue, Feb 21, 2012 at 10:56 PM, Sasikanth <address@hidden> wrote:
> The code i sent u and poor man's profiler r similar. But i had tried with
> poor man's profile ... Same results ... no change
>
> libunwind is not working if the code uses frame pointer for someother
> purpose .......

Two debug techniques:

readelf -wf <binary>

and look for pc=... range that matches the value of RIP you're trying
to unwind from. If there is no unwind info, that's the problem.

You can also use:

./configure --enable-debug
UNW_DEBUG_LEVEL=16 test-program

and post the output to the list or compare to a working test case
(ones included in the test directory).

 -Arun



reply via email to

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