[PATCH] Handle bool specially in gdb.set_parameter
Tom Tromey
tom@tromey.com
Fri Jul 8 19:56:53 GMT 2022
>>>>> "Tom" == Tom Tromey <tom@tromey.com> writes:
Tom> PR python/29217 points out that gdb.parameter will return bool values,
Tom> but gdb.set_parameter will not properly accept them. This patch fixes
Tom> the problem by adding a special case to set_parameter.
Tom> I looked at a fix involving rewriting set_parameter in C++. However,
Tom> this one is simpler.
I'm checking this in.
Tom
More information about the Gdb-patches
mailing list