This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
backtrace of the current process execution
- From: laurent dot marzullo at one-d dot com
- To: gdb at sources dot redhat dot com
- Date: Fri, 3 Dec 2004 16:06:03 +0100
- Subject: backtrace of the current process execution
Hello,
I would like to know if there's a way to know the call stack of a running
process into the process itself ?
I wrote a C++ program ... and when throwing exception, I would like to
print the full call stack to std::cerr. Is there a way to do so with
libgdb ? or any other lib ?
Thanks a lot
Laurent Marzullo