From: Pedro Alves <palves@redhat.com>
To: Yao Qi <qiyaoltc@gmail.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH master/7.12] PR 20627: Use resume_stop to stop lwp
Date: Thu, 29 Sep 2016 02:44:00 -0000 [thread overview]
Message-ID: <155fa545-c9c5-24a0-3174-eda4c3f55a07@redhat.com> (raw)
In-Reply-To: <1475105417-23047-1-git-send-email-yao.qi@linaro.org>
On 09/28/2016 07:30 PM, Yao Qi wrote:
> Commit 049a8570 (Use target_continue{,_no_signal} instead of target_resume)
> replaces the code stopping lwp with target_continue_no_signal in
> target_stop_and_wait, like this,
>
> - resume_info.thread = ptid;
> - resume_info.kind = resume_stop;
> - resume_info.sig = GDB_SIGNAL_0;
> - (*the_target->resume) (&resume_info, 1);
> + target_continue_no_signal (ptid);
>
> the replacement is not equivalent, and it causes PR 20627. This patch
> is just to revert that change.
>
> Regression testing it on x86_64-linux.
>
> gdb/gdbserver:
>
> 2016-09-28 Yao Qi <yao.qi@linaro.org>
>
> PR gdbserver/20627
> * target.c (target_stop_and_wait): Don't call
> target_continue_no_signal, use resume_stop instead.
OK.
Thanks,
Pedro Alves
next prev parent reply other threads:[~2016-09-29 1:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-29 1:52 Yao Qi
2016-09-29 2:44 ` Pedro Alves [this message]
2016-09-30 18:00 ` Yao Qi
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=155fa545-c9c5-24a0-3174-eda4c3f55a07@redhat.com \
--to=palves@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=qiyaoltc@gmail.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