Category Archives: GCC

Stack unwinding (stack trace) with GCC

I always liked the nice stack trace you get in some languages like java, c#, etc, with a nice clean trace of where the issue happent. Can we have this in C/C++ with gcc? Of course we can. Let’s use the following code in which we try to display our stack trace (assumes you are [...]