[PATCH] Add test name argument to get_valueof, get_integer_valueof and get_sizeof

Pedro Alves palves@redhat.com
Mon Mar 13 19:23:00 GMT 2017


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



More information about the Gdb-patches mailing list