This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Keeping breakpoints inserted


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?




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]