Debugging multithreaded application with GDB
Alan Turing
mashkochit@gmail.com
Sun Aug 3 12:41:00 GMT 2008
Hi Anyone,
I have encountered a problem using GDB for stepping through execution
threads, and hope someone out there has the proper experience to guide
me through:
1. GDB would set a breakpoint in a thread only if it already exists
2. In most cases, once a thread is launched, it would start executing
almost imemdiately.
My problem:
I need to catch the thread as close to its starting point as possible.
Setting a break point after the thread is already running means it's
way past the desired break point.
Anyone?
Much Obliged,
Mashkochit
More information about the Gdb
mailing list