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: Tom Tromey <tom at tromey dot com>
- Cc: Eli Zaretskii <eliz at gnu dot org>, gdb-patches at sourceware dot org
- Date: Wed, 02 May 2018 10:06: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> <871seu6o81.fsf@tromey.com>
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?
Tom> No, you didn't, that seems correct to me.
Tom> Also the value is actually signed.
Tom> I've changed it to:
Tom> The value is an signed integer. This is like @code{PARAM_ZUINTEGER},
Tom> except the special value -1 should be interpreted to mean
Tom> ``unlimited''. Other negative values are not allowed.
So what I actually wrote and what you wrote that I agreed with are not
the same: I left in the text about other negative values. I thought
this still made sense given that the value is actually signed, but let
me know which way you'd prefer.
thanks,
Tom