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: Faster stepping amidst breakpoints


On Mon, Jan 31, 2011 at 08:49:51AM +0400, Joel Brobecker wrote:
> > Consider "set breakpoint always-inserted".
> > I've been wondering lately if we should flip the default.
> 
> I like the idea of changing the default.
> 
> Do you know what the risks would be?  I looked at the code, and
> there isn't something obvious/delicate, it seems.  Perhaps we might
> find ourselves forgetting to re-insert breakpoints, or inserting
> them twice? I think you guys have more experience than we do?

As far as I can remember (you know how much GDB development I do
nowadays), the only risks were if GDB crashed and left the application
with breakpoints inserted.  Of course, I'm in favor of GDB not
crashing.

Pedro, Stan, any thoughts?

-- 
Daniel Jacobowitz
CodeSourcery


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