Tech Papers
Non-Stop Multi-Threaded Debugging in GDB
Mentor Graphics
Mentor Graphics Technical Library
December 2011
Tell us What You Think
We want to know what you thought about this Technical Paper. Let us know by adding a comment.
When debugging a multi-threaded program, should a debugger stop all threads when any thread stops, or should it stop only those threads that have something to report, like a breakpoint hit? When debugging a live system, the latter approach may be less intrusive, as threads other than those under inspection can continue to respond to external events. We have implemented this behavior, which we call non-stop debugging, in the GNU Debugger, GDB. This paper lifts long-standing restrictions in GDB's thread support, using a number of interesting techniques. It opens a way to supporting multi-process and multi-core debugging.
Note: By clicking on the above link, this paper will be emailed to your EE Times log-in address by Mentor Graphics.
Note: By clicking on the above link, this paper will be emailed to your EE Times log-in address by Mentor Graphics.
Rate this Content
Navigate to related information


