This is the mail archive of the gdb-patches@sources.redhat.com 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: [PATCH] Removal of markup annotations


On Mon, Jul 04, 2005 at 10:01:35AM +1200, Nick Roberts wrote:
>  > > This patch cleans up the code quite considerably and hopefully will relieve
>  > > some of the pressure to remove the remaining annotations.
>  > 
>  > Is there "pressure"?  I don't see the point in snipping out bits of
>  > -annotate=2 until we're ready to remove it entirely, which I would like
>  > to do but I accept that we are not yet ready for.
> 
> Its hard for me to tell if the pressure is real or imagined.  There _was_
> pressure two years ago (around Jan 2002) but the people involved aren't
> currently active on the mailing list.  The idea behind level 3 annotations
> _was_ to allow snipping out a (large) bit of the sprinkled code for
> annotations.  Its not a problem for me.  If its not a problem for anyone else,
> then it might as well stay (although that does beg the question as to why
> it needs to be removed at all).

Eventually, we'll make changes to GDB that will make it hard to
preserve the structure of annotations.  We've probably made several
already - an example is the interps.c change that you're talking about
fixing in another thread.  The nature of annotations makes it hard to
preserve their reliability.

I just want to approach it from the other side.  When MI is ready, or
we've got a patch that is otherwise good but hoses some annotations,
then let's start deleting them.

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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