How to generate meaningfull stacktraces with RTEMS on the Leon3

Jan Sommer soja-lists at aries.uberspace.de
Mon Dec 5 14:46:12 UTC 2016


Hi,

Is there a common way how to create stacktraces in RTEMS?
I tried to use the _Unwind_Backtrace_-function from gcc, but so far it 
only returns _URC_END_OF_STACK if I call it from a leaf function 
(haven't tried a trap handler yet).

I am not sure if that is the way to go. Are there any recommendations or 
examples for this topic?
We are using rtems 4.10.2 from Gaisler on the gr712 at the moment.


Thank you,

    Jan


More information about the users mailing list