[PATCH] Hooks still needed for annotations
Nick Roberts
nickrob@snap.net.nz
Wed Jun 1 21:31:00 GMT 2005
> > Although the intention is to eventually remove annotations I don't think
> > this stage has been reached yet and it makes little sense to remove a
> > small number of calls. The patch below re-instates them.
>
> Nick, in order for you to guarentee that your Emacs is working properly,
> you are going to have to update the breakpoints after every command the
> user types. Even though I think adding the patch is a good idea, if you
> don't update the breakpoints after every command, bugs like this will
> make it so that some users do not get the updated breakpoints.
I don't think the fact that these annotations are missing in released versions
of GDB (6.2 and 6.3?) is a good reason not to have them in future releases.
> For instance, make a small main program, add a breakpoint, and then
> immediatly delete it. I doubt you will get the breakpoints-invalid
> annotation. The problem is, even if you fix them, you still have to
> check the breakpoints after every command unless you query GDB for it's
> version number to see if the bug is fixed.
I don't currently use breakpoints-invalid but I might wish to at one stage.
I want to ensure that annotations aren't quietly removed by dismantling them
bit by bit.
Nick
More information about the Gdb-patches
mailing list