Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: gdb-patches@sources.redhat.com
Subject: Re: RFA: Patch: annotations -vs- deprecated hooks
Date: Mon, 14 Jul 2008 00:50:00 -0000	[thread overview]
Message-ID: <m3k5fp9tnc.fsf@fleche.redhat.com> (raw)
In-Reply-To: <18554.39826.254742.402462@kahikatea.snap.net.nz> (Nick Roberts's message of "Mon\, 14 Jul 2008 12\:19\:30 +1200")

>>>>> "Nick" == Nick Roberts <nickrob@snap.net.nz> writes:

>> Is it just annotations that you care about, or all the deprecated hook
>> stuff?  I think it all falls into the category of not-broken.

Nick> Emacs still uses annotations and it seems to work OK.  Your
Nick> earlier change, emoving event hooks, removes a significant
Nick> amount of code and stops others from using them in the future.

I think this change is worthwhile as a cleanup.  It removes some
more deprecated things, preventing use of them.

When browsing gdb, I find it very strange to see how many things are
marked deprecated, and for how long.  E.g.,
deprecated_annotate_starting_hook is not set anywhere in gdb, but has
been deprecated since 2004.  That seems like an inordinately long
deprecation for something which is unused.

Nick> This patch, however, while probably safe (I've not checked)
Nick> doesn't seem worthwhile to me since this code _will_ disappear
Nick> in the future anyway.

Do you know when this will be?  If it is soon, then I don't mind
holding off.  If it will be a year, or years, then I think it would be
strange to reject a cleanup in favor of some distant, unwritten patch.

Tom


  reply	other threads:[~2008-07-14  0:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-13 21:59 Tom Tromey
2008-07-13 22:26 ` Nick Roberts
2008-07-13 23:15   ` Tom Tromey
2008-07-14  0:20     ` Nick Roberts
2008-07-14  0:50       ` Tom Tromey [this message]
2008-07-14  0:57         ` Daniel Jacobowitz
2008-07-14  1:37         ` Nick Roberts
2008-07-14 15:22           ` Tom Tromey
2008-07-14  5:00 ` Joel Brobecker
2008-07-14 17:27 ` Joel Brobecker
2008-07-14 17:46   ` Tom Tromey
2008-07-16 12:42   ` Nick Roberts
2008-07-28 17:50   ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3k5fp9tnc.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=nickrob@snap.net.nz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox