[RFC] Clean up var_integer/var_uinteger/var_zinteger mess

Jim Blandy jimb@red-bean.com
Wed Feb 1 18:49:00 GMT 2006


On 2/1/06, Mark Kettenis <mark.kettenis@xs4all.nl> wrote:
> 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?

Well, I presume that sometimes (often) those are used for limits of
something, and sometimes they're genuine integers.  Surely there's
something in GDB where a negative value would make sense.  I don't
like the idea of accepting "unlimited" for a quantity that isn't a
limit on anything.

Then, of course, there's aix-thread.c which is using zinteger for a boolean.



More information about the Gdb-patches mailing list