Re: ppc64* native-gdbserver testsuite hangs on gdb.threads/process-dies-while-handling-bp.exp

Yao Qi
2017-12-20T16:23:20Z

On Wed, Dec 20, 2017 at 3:23 PM, Edjunior Machado <edjunior@gmail.com> wrote:
> thanks a lot for the patch! Testing the fix on Fedora26, confirmed that
> native-gdbserver no longer hangs on
> gdb.threads/process-dies-while-handling-bp.exp in both ppc64le and be.
>
> Unfortunately, I couldn't regtest running the complete testsuite due to
> another hang I'm still checking (likely caused by hw watch not working
> properly on such boxes).
>

Is it gdb.base/watchpoints.exp? My regression test running on gcc110
is very slow, blocked by gdb.base/watchpoints.exp. The test needs two
HW watchpoints, but ppc only has one HW watchpoint register. GDB
native can do resource counting, so it is smart enough to switch to
SW wathcpoint if there is not enough HW watchpoint registers. However,
GDB remote can *not* do resource counting, so GDB fails to insert
watchpoints, and all the following tests timeout.

--
Yao (齐尧)