diff options
author | Tom Tromey <tom@tromey.com> | 2022-06-12 11:36:08 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2022-07-08 13:56:56 -0600 |
commit | fa17a6814113ac22d8059d61514aa2c6e29b0aae (patch) | |
tree | 8b4349d43b605434454c9905578e472608861ffa /gdb/testsuite/gdb.python/python.exp | |
parent | 57f8fe908bec51c40ec686294460ec979b140843 (diff) | |
download | binutils-fa17a6814113ac22d8059d61514aa2c6e29b0aae.zip binutils-fa17a6814113ac22d8059d61514aa2c6e29b0aae.tar.gz binutils-fa17a6814113ac22d8059d61514aa2c6e29b0aae.tar.bz2 |
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
Diffstat (limited to 'gdb/testsuite/gdb.python/python.exp')
0 files changed, 0 insertions, 0 deletions