From: Pedro Alves <palves@redhat.com>
To: Doug Evans <dje@google.com>
Cc: gdb <gdb@sourceware.org>
Subject: Re: Is gdb script execution intended to work this way in async mode?
Date: Mon, 24 Mar 2014 20:04:00 -0000 [thread overview]
Message-ID: <53308FE0.7080200@redhat.com> (raw)
In-Reply-To: <CADPb22T40jXhHOXiPG7jnHxTXrGEPm=vqZwFMFxGJ+1H4cNwbA@mail.gmail.com>
On 03/22/2014 12:13 AM, Doug Evans wrote:
> Hi.
> If I source a script in target-async mode, non-asynchronous execution
> commands "finish" immediately in the sense that the following command
> in the script is done before the previous command has completed (in
> the expected sense - the command completes immediately, so to speak,
> but continuations are registered to perform the rest of the command,
> e.g. to keep stepping until a "next" has fully completed).
>
> I hope this is a bug.
Yes. set target-async on/off is supposed to be transparent.
The only difference should be that "set target-async on" enables more
features. I thought this was fixed, but looks like not...
Sounds like we forget to clear interpreter_async while running
the script?
--
Pedro Alves
next prev parent reply other threads:[~2014-03-24 20:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-22 0:13 Doug Evans
2014-03-24 20:04 ` Pedro Alves [this message]
2014-03-25 11:46 ` Pedro Alves
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=53308FE0.7080200@redhat.com \
--to=palves@redhat.com \
--cc=dje@google.com \
--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