This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA]: Fix for watchpoint regressions
> Date: Mon, 21 Jun 2004 15:57:52 -0400
> From: Jeff Johnston <jjohnstn@redhat.com>
> >>
> >>2004-06-18 Jeff Johnston <jjohnstn@redhat.com>
> >>
> >> * infrun.c (handle_inferior_event): Initialize stopped_by_watchpoint
> >> to -1.
> >> * breakpoint.c (bpstat_stop_status): Move check for ignoring
> >> untriggered watchpoints to a separate if clause. Update function
> >> comment regarding STOPPED_BY_WATCHPOINT argument.
> >
> >
> > Won't this break the cases that caused the addition of testing that
> > stopped_by_watchpoint is non-zero in bpstat_stop_status?
> >
>
> I took care to try to ensure that the problem the original patch was fixing was
> still being addressed.
Thanks for taking time to explain the situation and the fix.
Your patch is approved.