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

Yao Qi
2017-12-20T21:35:47Z

On Wed, Dec 20, 2017 at 4:23 PM, Yao Qi <qiyaoltc@gmail.com> wrote:
> 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.
>

Looks ppc64-linux gdbserver doesn't support watchpoint, so we need
to improve test cases to probe hw watchpoint support. See
test "set probe hw watchpoint" in watchpoint-stops-at-right-insn.exp.

--
Yao (齐尧)