libunwind-devel
[Top][All Lists]
Advanced

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

[Libunwind-devel] Re: string number from offset value


From: Tanya Gornak
Subject: [Libunwind-devel] Re: string number from offset value
Date: Tue, 6 Jul 2010 13:51:50 +0400

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 <address@hidden> 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

reply via email to

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