This is the mail archive of the gdb-patches@sourceware.org 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: PR 8507 - Remote watchpoint limit really large


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


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