Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHelp! trace back utility for NiOS
Hi: Can someone please let me know whether there is a traceback utility in NiOS? I want to print the function call trace in run-time, just like gdb but without using NiOS console. I want this...
Altera_Forum
Honored Contributor
21 years agoIf you have compiled with a frame pointer then you may be able to build your own on top of the GCC function __builtin_return_address.
This probably won't be able to trace back through interrupts as they use a different format of stack frame.