uClibc system call to get stack trace information

ganesh sahu ganeshct_t at yahoo.co.in
Tue Oct 28 06:53:12 UTC 2008


Hi
   How to build applications using the attached file given in :
http://bugs.busybox.net/view.php?id=101
  It need to be patched or directly we can use the function definitions because when i tried to use the functions directly, it gave me value of some exported shell variables.

Thanks
Ganesh

--- On Thu, 23/10/08, Bernhard Reutner-Fischer <rep.dot.nop at gmail.com> wrote:
From: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
Subject: Re: uClibc system call to get stack trace information
To: "Carmelo AMOROSO" <carmelo.amoroso at st.com>
Cc: ganeshct_t at yahoo.co.in, uclibc at uclibc.org
Date: Thursday, 23 October, 2008, 1:14 PM

On Thu, Oct 23, 2008 at 08:20:40AM +0200, Carmelo AMOROSO wrote:
>ganesh sahu wrote:
>> Hi
>>   Does uClibc is having an system call to get stack information. In 
>> glibc we can print the stack trace through backtrace() function but it

>> doesn't work in uClibc. So how we can get stack trace information
inside 
>> our C code using uClibc.
>> 
>> Thanks
>> Ganesh
>
>Backtrace function is not implemented.

http://bugs.busybox.net/view.php?id=101

>You may use gdb.

PS:
I think that we usually do not have CFI annotations in our asm and
adding them would be quite alot of work. Patches welcome..



      Get perfect Email ID for your Resume. Grab now http://in.promos.yahoo.com/address
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20081028/dc4388d3/attachment-0002.htm 


More information about the uClibc mailing list