aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-lazy-string.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@embecosm.com>2022-10-21 08:54:18 +0100
committerMaciej W. Rozycki <macro@embecosm.com>2022-10-21 08:54:18 +0100
commit90319cefe398bb6c5130b48d1c0e4df5e65eb194 (patch)
tree3f04a649900455491d89a2fba3792b8111d323af /gdb/testsuite/gdb.python/py-lazy-string.c
parentb4d6b738075e2d4be9b4a8d2080bcf94e6b7e229 (diff)
downloadbinutils-90319cefe398bb6c5130b48d1c0e4df5e65eb194.zip
binutils-90319cefe398bb6c5130b48d1c0e4df5e65eb194.tar.gz
binutils-90319cefe398bb6c5130b48d1c0e4df5e65eb194.tar.bz2
GDB/Guile: Don't assert that an integer value is boolean
Do not assert that a value intended for an integer parameter, of either the PARAM_UINTEGER or the PARAM_ZUINTEGER_UNLIMITED type, is boolean, causing error messages such as: ERROR: In procedure make-parameter: ERROR: In procedure gdbscm_make_parameter: Wrong type argument in position 15 (expecting integer or #:unlimited): 3 Error while executing Scheme code. when initialization with a number is attempted. Instead assert that it is integer. Keep matching `#:unlimited' keyword as an alternative. Add suitable test cases. Approved-By: Simon Marchi <simon.marchi@polymtl.ca>
Diffstat (limited to 'gdb/testsuite/gdb.python/py-lazy-string.c')
0 files changed, 0 insertions, 0 deletions