diff options
author | Maciej W. Rozycki <macro@embecosm.com> | 2022-08-17 22:59:11 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@embecosm.com> | 2022-08-17 22:59:11 +0100 |
commit | dbc3717013bed530d4c1de3ac7da906fa06bfb3e (patch) | |
tree | 20dbd42ca697f069bedb8f409d149d4a6519b5d9 /gdb/testsuite/gdb.python | |
parent | 7744e3278b9f24d8a1a2dd74f75986bd9060724c (diff) | |
download | gdb-dbc3717013bed530d4c1de3ac7da906fa06bfb3e.zip gdb-dbc3717013bed530d4c1de3ac7da906fa06bfb3e.tar.gz gdb-dbc3717013bed530d4c1de3ac7da906fa06bfb3e.tar.bz2 |
GDB/testsuite: Fix PARAM_ZUINTEGER reported for PARAM_ZUINTEGER_UNLIMITED
Correctly report PARAM_ZUINTEGER_UNLIMITED rather than PARAM_ZUINTEGER
in testing a Python parameter of the PARAM_ZUINTEGER_UNLIMITED type.
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r-- | gdb/testsuite/gdb.python/py-parameter.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.python/py-parameter.exp b/gdb/testsuite/gdb.python/py-parameter.exp index d6db6ac..4aa3e96 100644 --- a/gdb/testsuite/gdb.python/py-parameter.exp +++ b/gdb/testsuite/gdb.python/py-parameter.exp @@ -346,9 +346,9 @@ proc_with_prefix test_integer_parameter { } { gdb_test "python test_param_$kind.value = -1" "RuntimeError: Range exceeded.*" } elseif {$kind == "PARAM_ZUINTEGER_UNLIMITED"} { gdb_test_no_output "python test_param_$kind.value = -1" \ - "check that PARAM_ZUINTEGER value can be set to -1" + "check that PARAM_ZUINTEGER_UNLIMITED value can be set to -1" gdb_test "python print(gdb.parameter('test-$kind'))" "-1" \ - "check that PARAM_ZUINTEGER value is -1 after setting" + "check that PARAM_ZUINTEGER_UNLIMITED value is -1 after setting" } else { error "invalid kind: $kind" } |