This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 (齐尧)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]