Friendly Gaurav Build it with the -ggdb2 option, and follow those steps:
$ gdb a.out (gdb) start (gdb) stepi (gdb) backtrace (gdb) step (gdb) bt (gdb) stepi (gdb) bt (gdb) help It's funny ;)
Friendly Gaurav Build it with the -ggdb2 option, and follow those steps:
$ gdb a.out (gdb) start (gdb) stepi (gdb) backtrace (gdb) step (gdb) bt (gdb) stepi (gdb) bt (gdb) help It's funny ;)