From: Pedro Alves <palves@redhat.com>
To: Tom Tromey <tromey@redhat.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH] make "set debug target" take effect immediately
Date: Tue, 29 Jul 2014 11:05:00 -0000 [thread overview]
Message-ID: <53D77726.6060106@redhat.com> (raw)
In-Reply-To: <1406574267-5212-1-git-send-email-tromey@redhat.com>
On 07/28/2014 08:04 PM, Tom Tromey wrote:
> Right now, "set debug target" acts a bit strangely.
>
> Most target APIs only notice that it has changed when the target stack
> is changed in some way. This is because many methods implement the
> setting using the special debug target. However, a few spots do
> change their behavior immediately -- any place explicitly checking
> "targetdebug".
>
> Some of this peculiar behavior is documented. However, I think that
> it just isn't very useful for it to work this way. So, This patch
> changes "set debug target" to take effect immediately in all cases.
Definitely. Thanks!
> This is done by simply calling update_current_target when the setting
> is changed.
Pedro Alves
prev parent reply other threads:[~2014-07-29 10:27 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-28 19:18 Tom Tromey
2014-07-28 19:21 ` Eli Zaretskii
2014-07-28 19:34 ` Eli Zaretskii
2014-07-28 20:51 ` Tom Tromey
2014-08-04 14:09 ` Tom Tromey
2014-07-29 10:07 ` Yao Qi
2014-07-29 10:27 ` Pedro Alves
2014-07-29 20:05 ` Tom Tromey
2014-07-30 7:48 ` Yao Qi
2014-07-30 13:49 ` Tom Tromey
2014-08-04 14:09 ` Tom Tromey
2014-07-29 11:05 ` Pedro Alves [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=53D77726.6060106@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