Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Yao Qi <qiyaoltc@gmail.com>
To: Yao Qi <qiyaoltc@gmail.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFC] Remove need_step_over from struct lwp_info
Date: Thu, 28 Apr 2016 09:23:00 -0000	[thread overview]
Message-ID: <861t5qf5p6.fsf@gmail.com> (raw)
In-Reply-To: <1461657497-12076-1-git-send-email-yao.qi@linaro.org> (Yao Qi's	message of "Tue, 26 Apr 2016 08:58:17 +0100")

Yao Qi <qiyaoltc@gmail.com> writes:

> @@ -3276,9 +3276,6 @@ linux_wait_1 (ptid_t ptid,
>  	     PC), we should step over it.  */
>  	  if (debug_threads)
>  	    debug_printf ("Hit a gdbserver breakpoint.\n");
> -
> -	  if (breakpoint_here (event_child->stop_pc))
> -	    event_child->need_step_over = 1;

Looks the comments above should be removed as well,

	  /* If we stepped or ran into an internal breakpoint, we've
	     already handled it.  So next time we resume (from this
	     PC), we should step over it.  */

-- 
Yao (齐尧)


  reply	other threads:[~2016-04-28  9:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-26  7:58 Yao Qi
2016-04-28  9:23 ` Yao Qi [this message]
2016-04-28 10:10 ` Pedro Alves
2016-04-28 10:55   ` 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=861t5qf5p6.fsf@gmail.com \
    --to=qiyaoltc@gmail.com \
    --cc=gdb-patches@sourceware.org \
    /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