This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Delay deletion of step-resume breakpoints
On Mon, Aug 13, 2007 at 05:37:15PM -0400, Daniel Jacobowitz wrote:
> On Mon, Aug 13, 2007 at 11:13:32PM +0200, Mark Kettenis wrote:
> > The change you made to the comment:
> >
> > > /* NOTE: this will take care of any left-over step_resume breakpoints,
> > > - but not any user-specified thread-specific breakpoints. */
> > > + but not any user-specified thread-specific breakpoints. We can not
> > > + delete the breakpoint straight-off, because the inferior might not
> > > + be stopped at the moment. */
> >
> > Makes me suspect this is just a workaround for another bug, the bug
> > being that the inferior isn't properly stopped when this code gets
> > called.
>
> That's supposed to be not a bug - I think.
Hi Mark,
Did you have any comments on my response? Was it sensible or garbage?
--
Daniel Jacobowitz
CodeSourcery