[RFA]: Fix for watchpoint regressions

Jeff Johnston jjohnstn@redhat.com
Tue Jun 22 19:47:00 GMT 2004


Eli Zaretskii wrote:
>>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.
>

No problem. :)

> Your patch is approved.
> 

Thanks.  Patch applied.

-- Jeff J.



More information about the Gdb-patches mailing list