binutils-gdb/gdb/python
Tom Tromey 0489430a0e Handle var_zuinteger and var_zuinteger_unlimited from Python
PR python/20084 points out that the Python API doesn't handle the
var_zuinteger and var_zuinteger_unlimited parameter types.

This patch adds support for these types.

Regression tested on x86-64 Fedora 26.

ChangeLog
2018-05-02  Tom Tromey  <tom@tromey.com>

	PR python/20084:
	* python/python.c (gdbpy_parameter_value): Handle var_zuinteger
	and var_zuinteger_unlimited.
	* python/py-param.c (struct parm_constant): Add PARAM_ZUINTEGER
	and PARAM_ZUINTEGER_UNLIMITED.
	(set_parameter_value): Handle var_zuinteger and
	var_zuinteger_unlimited.
	(add_setshow_generic): Likewise.
	(parmpy_init): Likewise.

doc/ChangeLog
2018-05-02  Tom Tromey  <tom@tromey.com>

	PR python/20084:
	* python.texi (Parameters In Python): Document PARAM_ZUINTEGER and
	PARAM_ZUINTEGER_UNLIMITED.

testsuite/ChangeLog
2018-05-02  Tom Tromey  <tom@tromey.com>

	PR python/20084:
	* gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
	PARAM_ZUINTEGER_UNLIMITED tests.
2018-05-02 10:31:55 -06:00
..
lib/gdb Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-all-events.def Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-arch.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-auto-load.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-block.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-bpevent.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-breakpoint.c Convert observers to C++ 2018-03-19 09:37:49 -06:00
py-cmd.c Change Python code to use new_reference 2018-04-30 11:33:12 -06:00
py-continueevent.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-event-types.def Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-event.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-event.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-events.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-evtregistry.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-evts.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-exitedevent.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-finishbreakpoint.c Convert observers to C++ 2018-03-19 09:37:49 -06:00
py-frame.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-framefilter.c Remove some uses of is_mi_like_p from py-framefilter.c 2018-04-30 12:59:04 -06:00
py-function.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-gdb-readline.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-inferior.c Convert observers to C++ 2018-03-19 09:37:49 -06:00
py-infevents.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-infthread.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-instruction.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-instruction.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-lazy-string.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-linetable.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-newobjfileevent.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-objfile.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-param.c Handle var_zuinteger and var_zuinteger_unlimited from Python 2018-05-02 10:31:55 -06:00
py-prettyprint.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-progspace.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-record-btrace.c btrace: set/show record btrace cpu 2018-04-13 11:35:55 +02:00
py-record-btrace.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-record-full.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-record-full.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-record.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-record.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-ref.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-signalevent.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-stopevent.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-stopevent.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-symbol.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-symtab.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-threadevent.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-type.c Expose type alignment on gdb.Type 2018-04-30 11:25:31 -06:00
py-unwind.c Convert observers to C++ 2018-03-19 09:37:49 -06:00
py-utils.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-value.c Introduce a gdb_ref_ptr specialization for struct value 2018-04-06 15:44:46 -06:00
py-varobj.c Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00
py-xmethods.c Remove xmethod_worker::clone 2018-01-07 09:25:33 -05:00
python-config.py
python-internal.h Change frame_filter_flags to use DEF_ENUM_FLAGS_TYPE 2018-02-26 09:37:03 -07:00
python.c Handle var_zuinteger and var_zuinteger_unlimited from Python 2018-05-02 10:31:55 -06:00
python.h Update copyright year range in all GDB files 2018-01-02 07:38:06 +04:00