backtrace of the current process execution
Bob Rossi
bob@brasko.net
Fri Dec 3 15:20:00 GMT 2004
On Fri, Dec 03, 2004 at 04:14:27PM +0100, Andreas Schwab wrote:
> laurent.marzullo@one-d.com 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.
I think you can link to valgrind and it knows how to give backtrace's
via a macro at any point in your code.
Bob Rossi
More information about the Gdb
mailing list