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: [RFA] Handle var_zuinteger and var_zuinteger_unlimited from Python


>> +@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


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