Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Vladimir Prus <vladimir@codesourcery.com>
To: gdb@sources.redhat.com
Subject: Re: [GDB/MI] missing token in "stopped" output after -exec-run?
Date: Wed, 21 May 2008 05:05:00 -0000	[thread overview]
Message-ID: <g10agt$3e9$1@ger.gmane.org> (raw)
In-Reply-To: <20080521035924.GA4148@adacore.com>

Joel Brobecker wrote:

....
>    
*stopped,reason="breakpoint-hit",disp="del",bkptno="1",thread-id="1",frame={addr="0x08048332",func="main",args=[],file="foo.c",fullname="/home/no-backup/brobecke/head-merge/ex/foo.c",line="6"}
> 
> A few weeks ago, the output looked like this:
> 
>     232-exec-run
>     232^running
>     (gdb)
>     232*stopped,reason="breakpoint-hit",disp="del",...
>     
> The token was preserved.  Is the new behavior intended?

Yes (and I've explicitly posted to the list about this change, quite some time before
actually changing things). The situation is:

1. In current gdb, the token actually provides no information (since only
on run command can be active at a time).
2. No frontend author stepped in to say they care.
3. In non-stop mode, keeping the token is almost impossible.
4. The implementation of printing of the token was a mess.

Does it cause any problems for you?

- Volodya





  reply	other threads:[~2008-05-21  5:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-21  3:59 Joel Brobecker
2008-05-21  5:05 ` Vladimir Prus [this message]
2008-05-21  5:24   ` Joel Brobecker
2008-05-21 12:36   ` Daniel Jacobowitz
2008-05-21 12:59     ` Vladimir Prus
2008-05-21 17:22       ` Eli Zaretskii

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='g10agt$3e9$1@ger.gmane.org' \
    --to=vladimir@codesourcery.com \
    --cc=gdb@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