Keeping breakpoints inserted

Thiago Jung Bauermann bauerman@br.ibm.com
Fri Nov 30 21:03:00 GMT 2007


Hi,

On Thu, 2007-11-29 at 22:24 +0300, Vladimir Prus wrote:
> Anybody has comments on this approach?

When adding and removing breakpoints, will GDB stop all threads or just
the one under inspection?

On first thought, I think that if adding a breakpoint can be done
atomically (i.e., trap instruction is 1 word wide), then it wouldn't be
necessary to stop other threads. Am I being too naive here? 
-- 
[]'s
Thiago Jung Bauermann
Software Engineer
IBM Linux Technology Center



More information about the Gdb mailing list