This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Remove need_step_over from struct lwp_info


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 (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]