[RFC] Clean up var_integer/var_uinteger/var_zinteger mess

Mark Kettenis mark.kettenis@xs4all.nl
Wed Feb 1 16:13:00 GMT 2006


> 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



More information about the Gdb-patches mailing list