This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA]: Fix for watchpoint regressions


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.


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