This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Remove need_step_over from struct lwp_info
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 28 Apr 2016 10:22:45 +0100
- Subject: Re: [RFC] Remove need_step_over from struct lwp_info
- Authentication-results: sourceware.org; auth=none
- References: <1461657497-12076-1-git-send-email-yao dot qi at linaro dot org>
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 (éå)