This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] Hooks still needed for annotations
On Tue, Jun 07, 2005 at 09:57:48AM +1200, Nick Roberts wrote:
>
> > They are deprecated. I believe there's a clear consensus that the
> > entire annotation system is going to go, and in the near future. Just
> > not yet.
>
> Then lets try to remove the ones that can go. In 2003 Andrew introduced
> level 3 annotations as a subset of level 2 (with the markup annotations
> left out). Since then I have been using those quite happily with Emacs.
>
> So, as far as Emacs is concerned, the annotations that are restricted to
> level 2 in annotate.c, and this must be over half of them, can go.
>
> Bob is this also the case for CGDB?
I could look and see what annotations CGDB uses. Would this be helpful?
I think it's only a handful.
> Emacs doesn't use breakpoints-invalid or frames-invalid either and they
> spew out so often that it makes it hard to interrupt the inferior. However
> I would like to keep them for the moment, as they provide clues as to where
> to put code for event nortification in MI. Perhaps these could be restricted
> to level 2.
I still use level 2, and personally thought introducing level 3 was a
really bad idea. Do you already use level 3, or could we simply just
start stripping down level 2?
Thanks,
Bob Rossi