Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Nick Roberts <nick@nick.uklinux.net>
To: Andrew Cagney <cagney@gnu.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: RFA (?) Annotate Level 3 patch
Date: Thu, 12 Feb 2004 21:53:00 -0000	[thread overview]
Message-ID: <16427.62345.989794.926455@nick.uklinux.net> (raw)
In-Reply-To: <40296BF1.7060900@gnu.org>

 > > Moving annotate_stopped to the start of normal_stop seems to do the right
 > > thing. It might be bad practice, however, to break existing functionality
 > > so a better solution might be to create a new annotation there - aargh! -
 > > called stopping, say, instead. However, remember that I will have reduced
 > > my initial set of 25 annotations to 14. They would be:
 > > 
 > > 
 > >     pre-prompt            prompt            post-prompt
 > >     commands              overload-choice   query
 > >     prompt-for-continue   source            starting
 > >     exited                signalled         signal
 > >     stopped
 > > 
 > >     and stopping
 > 
 > Could stopped be zapped from annotate level-3 then?

Well "stopped" is in my list above as a conservative measure to keep existing
functionality. Since all stop (normal or otherwise) seem to go through
normal_stop, I think that one annotation (called stopped or stopping) at the
start of this procedure is sufficient for my purposes.

On a related matter, as the Machine Interface evolves, Emacs will have to do
different things for different versions of GDB, so it would be helpful if
"show version" ("-gdb-show version") or a related command gave a formally
defined increasing version number. In Emacs, the last release is 21.3.1 and
the version in CVS is 21.3.50. In GDB, the last release is 6.0 but the version
in CVS is 2004-02-01-cvs, say. Also releases, like 5.3postxxxx.. exist.

Perhaps I can get a mode to work just with GDB/MI before the next release of
Emacs from HEAD, which is where my code resides. However, unlike GDB, Emacs has
no schedule ;-)

Nick


  reply	other threads:[~2004-02-12 21:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-05 20:10 Nick Roberts
2004-01-27 20:28 ` Andrew Cagney
2004-01-29  0:20   ` Annotations Nick Roberts
2004-02-02 22:09   ` RFA (?) Annotate Level 3 patch Nick Roberts
2004-02-10 23:40     ` Andrew Cagney
2004-02-12 21:53       ` Nick Roberts [this message]
2004-02-12 22:34         ` Bob Rossi

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=16427.62345.989794.926455@nick.uklinux.net \
    --to=nick@nick.uklinux.net \
    --cc=cagney@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    /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