binutils-gdb/gdb/python/lib/gdb
Maciej W. Rozycki c506be7d9b GDB/Python: Make None' stand for unlimited' in setting integer parameters
Similarly to booleans and following the fix for PR python/29217 make
`gdb.parameter' accept `None' for `unlimited' with parameters of the
PARAM_UINTEGER, PARAM_INTEGER, and PARAM_ZUINTEGER_UNLIMITED types, as
`None' is already returned by parameters of the two former types, so
one might expect to be able to feed it back.  It also makes it possible
to avoid the need to know what the internal integer representation is
for the special setting of `unlimited'.

Expand the testsuite accordingly.

Approved-By: Simon Marchi <simon.marchi@polymtl.ca>
2022-10-21 08:54:18 +01:00
..
command gdb/python: remove Python 2 support 2022-03-23 07:41:19 -04:00
function Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
printer gdb/python: remove Python 2 support 2022-03-23 07:41:19 -04:00
__init__.py GDB/Python: Make None' stand for unlimited' in setting integer parameters 2022-10-21 08:54:18 +01:00
disassembler.py gdb/python: implement the print_insn extension language hook 2022-06-15 09:44:54 +01:00
FrameDecorator.py Remove more Python 2 code 2022-04-04 03:40:22 -06:00
FrameIterator.py Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
frames.py Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
printing.py gdb/python: remove Python 2 support 2022-03-23 07:41:19 -04:00
prompt.py Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
styling.py gdb/disasm: better intel flavour disassembly styling with Pygments 2022-10-02 17:30:04 +01:00
types.py Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
unwinder.py Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
xmethod.py gdb/python: remove Python 2 support 2022-03-23 07:41:19 -04:00