This is the mail archive of the gdb@sourceware.org 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]

gdb and threads


Hi,

I'm trying to debug a mulithreaded application running on a multicore cpu.
It is a C++ application which uses the new std::thread (which uses
pthreads underneath).
Now when my program gets a SIGSEGV, I can use 'bt' in gdb to get a backtrace.
Can I be sure that the backtrace I get is the one from the thread
causing the SIGSEGV?


Thanks,

Folkert.
www.vanheusden.com


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