Keeping breakpoints inserted
Michael Snyder
msnyder@specifix.com
Fri Nov 30 01:25:00 GMT 2007
On Thu, 2007-11-29 at 22:24 +0300, Vladimir Prus wrote:
> One of the infrastructure bits necessary for the non-stop threads
> debugging is always-inserted-breakpoints mode. If GDB has stopped
> one thread, and other threads are running, we want those other threads
> to still hit breakpoints and watchpoints. However, current GDB removes
> all breakpoints from the target before giving user a prompt, and this
> has to change.
>
> I've spend quite time examining breakpoint.c and infrun.c and
> cleaning/localizing the decisions as to when breakpoints are
> inserted/removed, and I believe I now have a fully workable plan
> to make breakpoints always inserted.
> [...]
>
> Anybody has comments on this approach?
Might there be a user preference, under some circumstances,
to NOT have them inserted while some threads run and some
are stopped?
More information about the Gdb
mailing list