PR 8507 - Remote watchpoint limit really large

Daniel Jacobowitz drow@false.org
Mon Dec 29 19:30:00 GMT 2008


On Mon, Dec 29, 2008 at 07:12:56PM +0000, Pedro Alves wrote:
> > How about var_zuinteger, for zeroable unsigned Integer?
> 
> Hmm, I was trying to convey the idea that negatives mean unlimited,
> as the watchpoint/breakpoint limits command explicitly mentions
> that.  But, it's just a name, I'm not married to any.

Just because the existing names are abbreviated doesn't mean they all
have to be... how about var_unlimited_uinteger, documented as an
unsigned integer value or the string "unlimited"?  And then we do not
need to overload any number in the UI, just internally.  We could
leave the variable an int, let [0, INT_MAX - 1] be valid, and INT_MAX
mean unlimited.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list