Re: [PATCH v2 01/13] gdb/linux-record: Add testcases for a few syscalls.

Pedro Alves
2015-10-30T10:37:36Z

On 10/29/2015 07:31 PM, Marcin KoÅ›cielnicki wrote:
>>> +
>>> +gdb_test "break marker1" \
>>> + "Breakpoint $decimal at $hex: file .*$srcfile, line $decimal.*" \
>>> + "set breakpoint at marker1"
>>> +
>>> +gdb_test "break marker2" \
>>> + "Breakpoint $decimal at $hex: file .*$srcfile, line $decimal.*" \
>>> + "set breakpoint at marker2"
>>> +
>>> +gdb_continue_to_breakpoint "marker1" ".*$srcfile:.*"
>>> +
>>> +gdb_continue_to_breakpoint "marker2" ".*$srcfile:.*"
>>
>> Most (all?) these tests run to marker1 and then immediately to
>> marker2. Can't they just continue to marker2 directly?
>>
>
> Huh. I've done that and, funnily enough, the waitpid testcase magically
> started to pass.

Eh.

> For the record, I've reported the bug here:
> https://sourceware.org/bugzilla/show_bug.cgi?id=19187

Thanks.

> I guess there won't be a KFAIL after all.
>

OK.

I'll take a look at the new version.

Thanks,
Pedro Alves