Get functions called with GDB
Posted
by Werner
on Stack Overflow
See other posts from Stack Overflow
or by Werner
Published on 2010-05-04T09:03:54Z
Indexed on
2010/05/04
9:08 UTC
Read the original article
Hit count: 176
gdb
Hi,
I am using GDB to understand a C++ program. I put a break in the middle of the running which turns to be something like:
break main.cpp:500
and I would like to see which functions have been called before. I tried "backtrace" but it shows only info about main, as previous calls to previous functions have already finished.
My question is how can I get (with GDB or another method) the info about which functions have been called before this point, even if the call has been returned.
Thanks
© Stack Overflow or respective owner