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

Marcin Kościelnicki
2015-10-29T19:32:21Z

>> +
>> +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. For the record, I've reported the bug here:
https://sourceware.org/bugzilla/show_bug.cgi?id=19187

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