Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Yao Qi <qiyaoltc@gmail.com>
To: Pedro Alves <palves@redhat.com>
Cc: Yao Qi <qiyaoltc@gmail.com>,  gdb-patches@sourceware.org
Subject: Re: [PATCH 0/2] Honour software single step in fallback of displaced stepping
Date: Wed, 08 Apr 2015 09:51:00 -0000	[thread overview]
Message-ID: <86iod7vtgg.fsf@gmail.com> (raw)
In-Reply-To: <55240CE7.2080506@redhat.com> (Pedro Alves's message of "Tue, 07	Apr 2015 17:59:19 +0100")

Pedro Alves <palves@redhat.com> writes:

> They actually are.  :-)  I tested v2 against x86 software single-step,
> and it caught issues like that.

Yeah, I realised that when I apply your V2 on top of my patches
later yesterday for the testing.  I tested your V2 only, and fails in 
gdb.threads/non-stop-fair-events.exp go away!

> 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.

OK, I'll read the corresponding patches then.

>
> I don't mind if you push your patch in first.  I'll just
> end up deleting that code again when I rebase it.

I'll let your patches go in.

-- 
Yao (齐尧)


  reply	other threads:[~2015-04-08  9:51 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 1/2] [gdbserver] assert on step if !can_hardware_single_step Yao Qi
2015-04-07 17:09   ` Pedro Alves
2015-04-07 15:52 ` [PATCH 2/2] Honour software single step in fallback of displaced stepping Yao Qi
2015-04-07 16:59 ` [PATCH 0/2] " Pedro Alves
2015-04-08  9:51   ` Yao Qi [this message]
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=86iod7vtgg.fsf@gmail.com \
    --to=qiyaoltc@gmail.com \
    --cc=gdb-patches@sourceware.org \
    --cc=palves@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