Backtrace in uClibC

Carmelo AMOROSO carmelo.amoroso at st.com
Thu Dec 22 14:31:53 UTC 2011


On 02/05/2011 17.20, Carmelo AMOROSO wrote:
> On 5/2/2011 4:14 PM, Thomas De Schampheleire wrote:
>> Hi Carmelo,
>>
> 
> Hi Thomas,
> 
>> I tested backtrace on a powerpc system (P4080 family) with
>> uClibc-0.9.31, and the test program mentioned in the backtrace man
>> page [1].
>>
>> The good news is that it seems to work correctly. The raw pointers
>> returned by backtrace() are correct and complete.
> 
> great ;-)
> 
>> Note that, although the source code of libubacktrace mentions the need
>> for compiling with '-fexception', it is sufficient to add
>> '-funwind-tables'. The latter has the advantage of not changing
>> dynamic behavior (i.e. enabling exception code). I think it would be
>> good to modify the comment.
>>
> 
> ok, I understand your point. I'll test it with -funwind-tables on my
> side, and check it.
> 

done in master right now.

cheers,
carmelo




More information about the uClibc mailing list