From: Pedro Alves <palves@redhat.com>
To: Tom Tromey <tromey@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC v5] fix regressions with target-async
Date: Wed, 12 Mar 2014 19:27:00 -0000 [thread overview]
Message-ID: <5320B50A.3050308@redhat.com> (raw)
In-Reply-To: <87wqfzkzm4.fsf@fleche.redhat.com>
On 03/12/2014 07:04 PM, Tom Tromey wrote:
>
> That approach is fine with me too. Then you can remove the odd linkage
> between the "maint" and target-async settings.
I would like remove that also for another reason:
The idea of "maint set target-async off" is to disable
_target_ async support, to emulate, say sync Windows testing,
on Linux.
Currently, on a non-async-capable target, "set target-async on"
itself does not error, but subsequent (CLI or MI) execution commands
fail with "Asynchronous execution not supported on this target.".
After the async-by-default series, "set target-async" becomes
exclusively an MI command. After "set target-async on",
MI execution commands are background execution commands.
Therefore, the combination:
"maint set target-async off" + "set target-async on"
should also result in the same exact error as today
you get when you try "set target-async on" against a
target that doesn't support async.
The linkage in v5 means that "set target-async on"
in the testsuite re-enables "maint set target-async on",
which defeats the purpose of the maint setting.
(btw, I'm considering adding "set mi-async", and making
"set target-async" a deprecated alias to that, for clarity)
--
Pedro Alves
next prev parent reply other threads:[~2014-03-12 19:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-12 16:42 Tom Tromey
2014-03-12 17:18 ` Pedro Alves
2014-03-12 19:04 ` Tom Tromey
2014-03-12 19:27 ` Pedro Alves [this message]
2014-03-12 19:46 ` Tom Tromey
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=5320B50A.3050308@redhat.com \
--to=palves@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@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