[PATCH] gdb/testsuite: Remove some duplication from gdb.mi/mi-var-child.exp

Pedro Alves pedro@palves.net
Thu Jan 6 16:44:05 GMT 2022


On 2021-12-17 23:24, Lancelot SIX wrote:
>> That is certainly fine.  Please go ahead with what you had.
>>
>> I gave it another look, and noticed that at least the "get number of children" tests
>> can be easily factored out, like below.  This applies on top of your patch.
>>
>> WDYT?
>>
> 
> Nice!
> 
> I was expecting something similar could be done, but I did not pushed to
> do it.  It looks good, and I confirm that I have no difference in the
> .sum file.
> 
> I am confident this is OK, and I have integrated this patch in my
> branch.  If this is OK, I'll push with the rest of my series.

Sorry, missed this question before.  Yes, this is totally fine, and actually
less work for me, so thanks.  :-)


More information about the Gdb-patches mailing list