This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Try 3: Use multiple locations for hardware watchpoints.
- From: Daniel Jacobowitz <drow at false dot org>
- To: Vladimir Prus <vladimir at codesourcery dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 16 Dec 2007 16:43:28 -0500
- Subject: Re: [RFA] Try 3: Use multiple locations for hardware watchpoints.
- References: <200712011412.34207.vladimir@codesourcery.com>
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