[RFC] Keep breakpoints always inserted.

Eli Zaretskii eliz@gnu.org
Sat Dec 1 20:59:00 GMT 2007


> From: Vladimir Prus <vladimir@codesourcery.com>
> Date: Sat, 1 Dec 2007 19:11:30 +0300
> Cc: gdb-patches@sources.redhat.com
> 
> > Please also consider whether something in gdbint.texinfo needs to be
> > updated as result of this change (unless you already considered that).
> 
> I did not, yet. What would be good to add there?

I don't really know: I didn't have enough time to read your patch
carefully.  I just noticed that you said "This patch makes breakpoint
always inserted", and thought that gdbint.texinfo might tell we remove
breakpoints on each target stop and re-insert them before each resume.
"Always inserted" sounded like it invalidates this model, does it?

> The basic design principle that all changes to breakpoints are
> routed through a single function that then handles
> inserting/removing locations probably should be added.

Yes, that too.

Thanks.



More information about the Gdb-patches mailing list