Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Vladimir Prus <vladimir@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: vladimir@codesourcery.com
Subject: Re: [doc] clarify MI ^running
Date: Fri, 12 Feb 2010 09:11:00 -0000	[thread overview]
Message-ID: <201002121210.54299.vladimir@codesourcery.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 210 bytes --]

On Friday 12 February 2010 09:10:49 you wrote:

> 
> This patches updates documentation to accurately explain what the ^running
> result record in MI supposed to mean now. OK?

And here's the patch.

- Volodya

[-- Attachment #2: running.diff --]
[-- Type: text/x-patch, Size: 1431 bytes --]

Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/doc/ChangeLog,v
retrieving revision 1.1006
diff -u -p -r1.1006 ChangeLog
--- ChangeLog	10 Feb 2010 18:57:21 -0000	1.1006
+++ ChangeLog	12 Feb 2010 06:09:04 -0000
@@ -1,3 +1,7 @@
+2010-02-12  Vladimir Prus  <vladimir@codesourcery.com>
+
+	* gdb.texinfo (GDB/MI Result Records): Clarify ^running.
+
 2010-02-10  Tom Tromey  <tromey@redhat.com>
 
 	* gdb.texinfo (Debugging Output): Document set debug parser and
Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.667
diff -u -p -r1.667 gdb.texinfo
--- gdb.texinfo	10 Feb 2010 18:57:21 -0000	1.667
+++ gdb.texinfo	12 Feb 2010 06:09:06 -0000
@@ -22059,9 +22059,12 @@ values.
 
 @item "^running"
 @findex ^running
-@c Is this one correct?  Should it be an out-of-band notification?
-The asynchronous operation was successfully started.  The target is
-running.
+This result record is equivalent to @samp{^done}.  Historically, it
+was output instead of @samp{^done} if the command has resumed the
+target.  This behaviour is maintained for backward compatibility, but
+all frontends should treat @samp{^done} and @samp{^running}
+identically and rely on the @samp{*running} output record to determine
+which threads are resumed.
 
 @item "^connected"
 @findex ^connected

             reply	other threads:[~2010-02-12  9:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-12  9:11 Vladimir Prus [this message]
2010-02-12 10:11 ` Eli Zaretskii
2010-02-12 16:48 ` Tom Tromey
  -- strict thread matches above, loose matches on Subject: below --
2010-02-12  6:10 Vladimir Prus

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=201002121210.54299.vladimir@codesourcery.com \
    --to=vladimir@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    /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