This is the mail archive of the gdb-patches@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: [RFC] Keep breakpoints always inserted.


> 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.


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