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]

Debugging multithreaded application with GDB


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


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