[rfc] Fix infrun.c fall-out from the software single-step logic change

Daniel Jacobowitz drow@false.org
Fri Jun 22 12:59:00 GMT 2007


On Fri, Jun 22, 2007 at 02:55:32PM +0200, Ulrich Weigand wrote:
> 
> > 	* infrun.c (adjust_pc_after_break): Do not assume software single-step
> > 	is always active if SOFTWARE_SINGLE_STEP_P is true.
> > 	(resume): Use gdbarch_software_single_step[_p] instead of
> > 	SOFTWARE_SINGLE_STEP[_P].
> > 	(handle_inferior_event): Do not check for SOFTWARE_SINGLE_STEP_P.
> > 
> > 	* gdbarch.sh (software_single_step): Remove target macro.
> > 	* gdbarch.h, gdbarch.c: Regenerate.
> 
> I've committed this as well.

Thanks - it looked right to me, but I forgot to send the mail.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list