libunwind-devel
[Top][All Lists]
Advanced

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

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


From: Paul Pluzhnikov
Subject: Re: [Libunwind-devel] Re: string number from offset value
Date: Tue, 6 Jul 2010 09:27:12 -0700

On Tue, Jul 6, 2010 at 2:51 AM, Tanya Gornak <address@hidden> wrote:
> I describe task, maybe it helps to understand my problem.

I am afraid your explanation didn't really clarify anything (at least to me :-(

> 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.

When you say "string number", what exactly do you mean?
It may be help if you describe how are you going to use that number.

>
> 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
>
> _______________________________________________
> Libunwind-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/libunwind-devel
>
>



-- 
Paul Pluzhnikov



reply via email to

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