[RFA] Try 3: Use multiple locations for hardware watchpoints.

Daniel Jacobowitz drow@false.org
Sun Dec 16 21:45:00 GMT 2007


On Sat, Dec 01, 2007 at 02:12:34PM +0300, Vladimir Prus wrote:
> 
> I've noticed that my previous patch to use multiple locations
> for watchpoint causes (non-deterministic) regression on watchthreads.exp,
> caused by the fact that we always updated the 'val' field on
> watchpoint, and it's possible that if two threads are stopped on
> different watchpoints, we'd update the val field of the second watchpoint
> while processing the hit of the first one, and then when we get to 
> the second watchpoint, we'd decide that the value has not changed.
> I think this revision if really final. OK?

I see I approved the wrong version of this... my comments on the
first version apply to this one too, but other than that it's OK
to commit.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list