This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: ppc64* native-gdbserver testsuite hangs on gdb.threads/process-dies-while-handling-bp.exp
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Edjunior Machado <edjunior at gmail dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>
- Date: Wed, 20 Dec 2017 21:35:44 +0000
- Subject: Re: ppc64* native-gdbserver testsuite hangs on gdb.threads/process-dies-while-handling-bp.exp
- Authentication-results: sourceware.org; auth=none
- References: <CAJJrRvag0nc6_HAWrPAkGZQ9eD4RFqiTUz=10Zgf97byWEdeWg@mail.gmail.com> <CAH=s-PO2vN4Gahajo5rNfSeSWRJsAEf_5r3yz-2Yw5jsMrXVaw@mail.gmail.com> <86o9mu8v32.fsf@gmail.com> <CAJJrRvascRev5Q1mH=MzG=eT72fBiUhMQxEVcGsRVW1e=J9fDw@mail.gmail.com> <CAH=s-PNe-YyzBAvowg5y3PgxVOh6kuPcHBuFN8x2qz5WeaRAUg@mail.gmail.com>
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 (齐尧)