Re: [PATCH 08/24] Make gdb.base/sizeof.exp use gdb_test_stdio

Antoine Tremblay
2015-04-23T16:25:04Z

On 04/23/2015 12:04 PM, Pedro Alves wrote:
> On 04/23/2015 04:49 PM, Pedro Alves wrote:
>> On 04/23/2015 04:38 PM, Antoine Tremblay wrote:
>>
>>>> It's not part of the patch but should we replace :
>>>>
>>>> # Test depends on printf, which the sparclet stub doesn't support.
>>>> if { [istarget "sparclet-*-*"] } {
>>>> return 0
>>>> }
>>>>
>>>> With :if [target_info exists gdb,noinferiorio] { ?
>>>>
>>
>> Yes, though...
>
> TBC, the tests in question already check gdb_skip_stdio_test,
> so adding a gdb,noinferiorio check would not be necessary.
>

Indeed, the whole test doesn't always need to be skipped..

Thanks!

Antoine