This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add test name argument to get_valueof, get_integer_valueof and get_sizeof
- From: Pedro Alves <palves at redhat dot com>
- To: Anton Kolesov <Anton dot Kolesov at synopsys dot com>, gdb-patches at sourceware dot org
- Cc: Francois Bedard <Francois dot Bedard at synopsys dot com>
- Date: Mon, 13 Mar 2017 19:23:53 +0000
- Subject: Re: [PATCH] Add test name argument to get_valueof, get_integer_valueof and get_sizeof
- Authentication-results: sourceware.org; auth=none
- References: <20170310154851.14036-1-Anton.Kolesov@synopsys.com>
On 03/10/2017 03:48 PM, Anton Kolesov wrote:
> An optional parameter TEST has been added to get_hexadecimal_valueof in commit:
>
> https://sourceware.org/ml/gdb-patches/2016-06/msg00469.html
>
> This patch adds a similar optional parameter to other related methods that
> retrieve expression values: get_valueof, get_integer_valueof and get_sizeof.
> Thus tests that evaluate same expression multiple times can provide custom
> test names, ensuring that test names will be unique.
>
> gdb/testsuite/ChangeLog:
> yyyy-mm-dd Anton Kolesov <Anton.Kolesov@synopsys.com>
>
> * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
> Add optional 'test' parameter.
OK.
Thanks,
Pedro Alves