This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Handle var_zuinteger and var_zuinteger_unlimited from Python
- From: Tom Tromey <tom at tromey dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Wed, 02 May 2018 10:01:34 -0600
- Subject: Re: [RFA] Handle var_zuinteger and var_zuinteger_unlimited from Python
- References: <20180426222003.9059-1-tom@tromey.com> <83d0ylupf7.fsf@gnu.org>
>> +@findex PARAM_ZUINTEGER_UNLIMITED
>> +@findex gdb.PARAM_ZUINTEGER_UNLIMITED
>> +@item gdb.PARAM_ZUINTEGER_UNLIMITED
>> +The value is an unsigned integer. This is like @code{PARAM_ZUINTEGER},
>> +except 0 is interpreted as itself, and the special value -1 should be
>> +interpreted to mean ``unlimited''. Other negative values are not
>> +allowed.
>> +
Eli> This part is approved, but it sounds like only 1 of the 3 differences
Eli> from PARAM_ZUINTEGER should actually be mentioned, as the other 2 --
Eli> that 0 is interpreted as itself and negative values are generally not
Eli> allowed -- are already present in PARAM_ZUINTEGER. Or did I miss
Eli> something?
No, you didn't, that seems correct to me.
Also the value is actually signed.
I've changed it to:
The value is an signed integer. This is like @code{PARAM_ZUINTEGER},
except the special value -1 should be interpreted to mean
``unlimited''. Other negative values are not allowed.
Tom