[PATCH] Don't check target_info exists noargs in commands.exp

Pedro Alves palves@redhat.com
Thu Oct 16 17:26:00 GMT 2014


On 10/16/2014 06:35 AM, Yao Qi wrote:
> Pedro Alves <palves@redhat.com> writes:
> 
>> Makes sense to me.   Though it looks to me like to be
>> thorough we should remove all the "set args ..." lines too, like:
>>
>>>      gdb_test_no_output "set args 5" "set args in progvar_simple_while_test"
>>                            ^^^^^^^^^^
>>>      if { ![runto factorial] } then { gdb_suppress_tests }
>>>      # Don't depend upon argument passing, since most simulators don't
>>
>> and several more as visible in the patch.
> 
> Right, the updated patch below removes "set args" line too.
> 

Looks good.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list