This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]