I describe task, maybe it helps to understand my problem.

I unwind stack of a remote process when it stopped on a syscall. And I want
to get string number of last program function which called before some
library functions

For example, I have such function sequence in stack: f1() -> f2() -> f3() ->
somelibfunc1() -> somelibfunc2() -> somelibfunc3() -> ...

And I want to know string number in f3() where somelibfunc1() was called.

Thanks in advance.

On 5 July 2010 18:46, Tanya Gornak <[email protected]> wrote:

> Hi,
>
> I get call-chain of a program using libunwind API:
>
> unw_get_proc_name (&c, buf, sizeof (buf), &off);
>
>
>  And I want to get string number. Can I get it from off value?
>
>
>
> --
> Sincerely yours,
> Tatiana Gornak
>



-- 
Sincerely yours,
Tatiana Gornak
_______________________________________________
Libunwind-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/libunwind-devel

Reply via email to