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

Edjunior Machado edjunior@gmail.com
Thu Dec 21 16:02:00 GMT 2017


Hi Yao,

On Wed, Dec 20, 2017 at 10:35 PM, Yao Qi <qiyaoltc@gmail.com> wrote:

> 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.
> >
>

exactly, gdb.base/watchpoints.exp is the hanging testcase now.


>
> 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.
>

Agreed, ppc64[le] gdbserver currently does not implement hw watchpoint
support; however, despite the high number of failures on the mentioned test
(and possibly others) because of that, from what I could git-bisect, it
didn't hang the native-gdbserver testrun until commit
c65d6b55b3a592906c470c566f57ad8ceacc1605.

Thanks and regards,
Edjunior


>
> --
> Yao (齐尧)
>



More information about the Gdb-patches mailing list