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: [RFC] Clean up var_integer/var_uinteger/var_zinteger mess


> Date: Tue, 31 Jan 2006 21:53:13 -0800
> From: Jim Blandy <jimb@red-bean.com>
> 
> It seems to me there ought to be something like var_limit, which would
> accept non-negative numbers or the word "unlimited", and store the
> result as an unsigned integer, with UINT_MAX meaning "unlimited".

Actually, it'd make sense if the existing
var_integer/var_uinteger/var_zinteger would accept "unlimited".
That'd make your var_limit unnecessary.

Does anyone see any problems with that?

Mark


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