Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Vladimir Prus <ghost@cs.msu.su>
To: Bob Rossi <bob@brasko.net>
Cc: gdb@sourceware.org
Subject: Re: GDB/MI async output token field
Date: Wed, 04 Jun 2014 20:28:00 -0000	[thread overview]
Message-ID: <538F815E.9050702@cs.msu.su> (raw)
In-Reply-To: <20140529190715.GA20321@linux>

On 05/29/2014 11:07 PM, Bob Rossi wrote:

>> The ChangeLog entry is useless, as usual. Here are relevant emails:
>>
>> 	https://sourceware.org/ml/gdb/2008-03/msg00239.html
>> 	https://sourceware.org/ml/gdb-patches/2008-04/msg00202.html
>>
>> The was single case where token was included in async output, and I removed
>> that. I don't believe any new cases were added, and nobody was upset in
>> all that time, so adjusting documentation to say that async output
>> never includes any tokens seems reasonable to me.
>
> Thanks! That was very helpful. I've now reproduced this behavior.
>
> (gdb)
> 111-exec-run
> 111^running
> (gdb)
> 111*stopped,reason="breakpoint-hit",bkptno="1",thread-id="0",frame={addr="0x08048355",func="main",args=[],file="main.c",fullname="main.c",line="5"}
>
> The question now arises, is the intent of the documentation that ships
> with GDB to accurately represent the current version of GDB or all
> version up to and including the current version of GDB?
>
> The current version of GDB obviously does not use the token in the async
> output, legacy versions do.
>
> Which should the documentation aim to match?

I'd say the documentation should match the current version merely as a practical matter. Documenting every tweak will probably
reduce readability too much.

- Volodya


      reply	other threads:[~2014-06-04 20:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-23  1:13 Bob Rossi
2014-05-25  7:16 ` Vladimir Prus
2014-05-26  0:14   ` Vladimir Prus
2014-05-28  7:59   ` Bob Rossi
2014-05-29  4:26     ` Bob Rossi
2014-05-29 17:04       ` Vladimir Prus
2014-05-29 19:22         ` Bob Rossi
2014-06-04 20:28           ` Vladimir Prus [this message]

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=538F815E.9050702@cs.msu.su \
    --to=ghost@cs.msu.su \
    --cc=bob@brasko.net \
    --cc=gdb@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