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 function call trace to be printed on my UART? Is there an existing function that i can call to print the stack trace or if anyone has a handy piece of code, can you please share. Also, if interrupts are enabled will it also print the ISR routine and the execution path during which the interrupt happened? BTW, there is no operating system in the system i use and its my own micro kernel, while loop checking for events that happens during interrupt context and processing them. Thanks and Regards, Balaji