On Tue, Jul 6, 2010 at 2:51 AM, Tanya Gornak <[email protected]> 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 <[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
>
>



-- 
Paul Pluzhnikov

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

Reply via email to