This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Keeping breakpoints inserted
- From: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- To: Vladimir Prus <vladimir at codesourcery dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 30 Nov 2007 19:03:42 -0200
- Subject: Re: Keeping breakpoints inserted
- References: <200711292224.23659.vladimir@codesourcery.com>
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