From: Pedro Alves <palves@redhat.com>
To: Yao Qi <qiyaoltc@gmail.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH 0/2] Honour software single step in fallback of displaced stepping
Date: Tue, 07 Apr 2015 16:59:00 -0000 [thread overview]
Message-ID: <55240CE7.2080506@redhat.com> (raw)
In-Reply-To: <1428421925-18025-1-git-send-email-qiyaoltc@gmail.com>
On 04/07/2015 04:52 PM, Yao Qi wrote:
> From: Yao Qi <yao.qi@linaro.org>
>
> Hi,
> This patch set fixes many fails I've seen in
> gdb.threads/non-stop-fair-events.exp on arm-linux target. I don't see
> they are covered by Pedro's "All-stop on top of non-stop" V2, so I
> post them out for the review.
They actually are. :-) I tested v2 against x86 software single-step,
and it caught issues like that.
This patch:
[PATCH v2 07/23] Embed the pending step-over chain in thread_info objects
https://sourceware.org/ml/gdb-patches/2015-04/msg00218.html
splits that code you're touching to a separate "start_step_over_inferior"
function.
And then this patch:
[PATCH v2 11/23] Use keep_going in proceed and start_step_over too
https://sourceware.org/ml/gdb-patches/2015-04/msg00203.html
rewrites that whole function to defer to keep_going instead. keep_going
already handles the case of the breakpoint disappearing (thread_still_needs_step_over
returns false). And in case the breakpoint is still around, it ends
in 'resume' again, which is then the only place that knows
how to start a displaced step.
I don't mind if you push your patch in first. I'll just
end up deleting that code again when I rebase it.
Thanks,
Pedro Alves
next prev parent reply other threads:[~2015-04-07 16:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-07 15:52 Yao Qi
2015-04-07 15:52 ` [PATCH 2/2] " Yao Qi
2015-04-07 15:52 ` [PATCH 1/2] [gdbserver] assert on step if !can_hardware_single_step Yao Qi
2015-04-07 17:09 ` Pedro Alves
2015-04-07 16:59 ` Pedro Alves [this message]
2015-04-08 9:51 ` [PATCH 0/2] Honour software single step in fallback of displaced stepping Yao Qi
2015-04-16 12:00 ` Yao Qi
2015-04-16 12:02 ` Pedro Alves
2015-04-16 13:01 ` 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=55240CE7.2080506@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).