Stacktrace

Little stacktrace program for Linux:

It writes the stacktrace of a function as a debug message on the terminal.

Run with:

$ qmake qmake CONFIG+=debug

$ make

$ ./stacktrace

Output:

>>>> Stack of void nspace::func1():

"nspace::func2()"

"nspace::func3()"

"main"

More info here:

https://www.gnu.org/s/hello/manual/libc/Backtraces.html

http://gcc.gnu.org/onlinedocs/libstdc++/manual/ext_demangling.html