Re: Keeping breakpoints inserted

Thiago Jung Bauermann
2007-11-30T21:03:51Z

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