This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Handle var_zuinteger and var_zuinteger_unlimited from Python
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 2 May 2018 22:37:24 +0100
- Subject: Re: [RFA] Handle var_zuinteger and var_zuinteger_unlimited from Python
- References: <20180426222003.9059-1-tom@tromey.com> <2ccd62eb-35be-9f7c-64bf-c0fd4a2ed31a@redhat.com> <87k1sl6a2e.fsf@tromey.com>
On 05/02/2018 10:07 PM, Tom Tromey wrote:
>>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
>
> Pedro> On 04/26/2018 11:20 PM, Tom Tromey wrote:
>>> + if {$kind == "PARAM_ZUINTEGER"} {
>>> + gdb_test "python test_param_$kind.value = -1" "RuntimeError: Range exceeded.*"
>>> + } else {
>>> + gdb_test_no_output "python test_param_$kind.value = -1" ""
>
> Pedro> Passing "" to gdb_test_no_output case suppresses the test
> Pedro> name/message in gdb.sum. I suspect that was not intended.
>
> How's this?
OK.
Thanks,
Pedro Alves