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: Edjunior Machado <edjunior at gmail dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: GDB Patches <gdb-patches at sourceware dot org>
- Date: Thu, 21 Dec 2017 17:01:55 +0100
- 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> <CAH=s-POmg=2tPfqC1=a4QzN4gxs-wJT7JkhQjTrkeKVndbxk8g@mail.gmail.com>
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 (齐尧)
>