Re: [PATCH 4/4] Test different follow-exec-mode settings in gdb.multi/multi-arch-exec.exp

Simon Marchi
2017-09-05T15:40:32Z

On 2017-09-05 12:39 PM, Yao Qi wrote:
> On 17-08-27 12:15:34, Simon Marchi wrote:
>> + # Test that GDB updates the target description / arch successfuly
>> + # after the exec.
>> + gdb_test "continue" "Breakpoint 1, main.*" "continue across exec that changes architecture"
>> + gdb_test "info inferior"
>
> Nit, any reason not to match the output here?

Errr, I think I used that to debug and it shouldn't be there. I'll remove it.

>> }
>>
>> -# Test that GDB updates the target description / arch successfuly
>> -# after the exec.
>> -gdb_test "continue" "Breakpoint 1, main.*" "continue across exec that changes architecture"
>
> Patch is good to me.

Thanks, I am pushing the series to master and gdb-8.0-branch.

Simon