binutils-gdb/gdb/python/lib/gdb
Tom Tromey fa17a68141 Handle bool specially in gdb.set_parameter
PR python/29217 points out that gdb.parameter will return bool values,
but gdb.set_parameter will not properly accept them.  This patch fixes
the problem by adding a special case to set_parameter.

I looked at a fix involving rewriting set_parameter in C++.  However,
this one is simpler.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29217
2022-07-08 13:56:56 -06: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 Handle bool specially in gdb.set_parameter 2022-07-08 13:56:56 -06: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/python: move styling support to gdb.styling 2022-02-14 09:53:04 +00: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