Re: [PATCH v2 00/23] All-stop on top of non-stop

Pedro Alves
2015-04-10T08:50:56Z

On 04/10/2015 09:40 AM, Yao Qi wrote:
> Pedro Alves <palves@redhat.com> writes:
>
>>> 3, on native,
>>> -PASS: gdb.base/info-shared.exp: continue to breakpoint: library function #4
>>> +FAIL: gdb.base/info-shared.exp: continue to breakpoint: library function #4
>>>
>>> continue^M
>>> Continuing.^M
>>> ^M
>>> Program received signal SIGSEGV, Segmentation fault.^M
>>> 0x40021564 in ?? () gdb/testsuite/gdb.base/info-shared-solib1.so^M
>>> (gdb) FAIL: gdb.base/info-shared.exp: continue to breakpoint:
>>> library function #4
>>
>> Most of the SIGSEGV/SIGILL/SIGBUS inferior crashes I saw were
>> due to a displaced stepping bug. Force disabling displaced
>> stepping with "set displaced off" usually "fixes" it. The next
>> step I would usually take would be to run the test manually, with
>> "set debug infrun 1" + "set debug displaced 1" + "set debug lin-lwp 1".
>
> Yeah, it is a bug in displaced stepping... Here is the patch to fix it.

Looks great to me. Thanks!

Thanks,
Pedro Alves