backtrace of the current process execution

Andreas Schwab
Fri Dec 3 15:14:00 GMT 2004 writes:

> I would like to know if there's a way to know the call stack of a running
> process into the process itself ?

Try the backtrace function from <execinfo.h>.


Andreas Schwab, SuSE Labs,
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

More information about the Gdb mailing list