This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Clean up var_integer/var_uinteger/var_zinteger mess
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: jimb at red-bean dot com
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 1 Feb 2006 17:12:29 +0100 (CET)
- Subject: Re: [RFC] Clean up var_integer/var_uinteger/var_zinteger mess
- References: <200601311131.k0VBVjf8022306@jop31.nfra.nl> <8f2776cb0601312153s72d75a48ha6bc2fe75050d4fc@mail.gmail.com>
> 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