[prev in list] [next in list] [prev in thread] [next in thread]
List: gdb
Subject: Re: Watchpoints with condition
From: Daniel Jacobowitz <drow () false ! org>
Date: 2007-11-30 23:48:54
Message-ID: 20071130234853.GA27583 () caradoc ! them ! org
[Download RAW message or body]
On Fri, Nov 30, 2007 at 03:30:21PM -0800, Jim Blandy wrote:
> Isn't that equivalent to 'watch foo == 1'?
Not quite.
watch foo == 1
stops when foo becomes 1 or non-1.
watch foo if foo == 1
stops only when foo becomes 1.
--
Daniel Jacobowitz
CodeSourcery
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic