RE: [RFA] i386/amd64 h/w watchpoints in gdbserver

Pierre Muller
2009-06-10T05:05:10Z

> -----Message d'origine-----
> De : gdb-patches-owner@sourceware.org [mailto:gdb-patches-
> owner@sourceware.org] De la part de Doug Evans
> Envoyé : Tuesday, June 09, 2009 5:43 AM
> À : Pierre Muller
> Cc : Pedro Alves; gdb-patches@sourceware.org
> Objet : Re: [RFA] i386/amd64 h/w watchpoints in gdbserver
>
> On Wed, Jun 3, 2009 at 12:27 PM, Pierre Muller<muller@ics.u-strasbg.fr>
> wrote:
> >> Thanks for running the tests.
> >> How about watchthreads.exp, watchthreads2.exp?
> >
> > [...]
> > Running ../../../src/gdb/testsuite/gdb.threads/watchthreads.exp ...
> > FAIL: gdb.threads/watchthreads.exp: threaded watch loop
> > FAIL: gdb.threads/watchthreads.exp: combination of threaded
> watchpoints = 30
> > Running ../../../src/gdb/testsuite/gdb.threads/watchthreads2.exp ...
> >
> >                === gdb Summary ===
> >
> > # of expected passes            116
> > # of unexpected failures        2
> > # of known failures             1
> > /usr/local/src/gdbcvs/build/gdb/testsuite/../../gdb/gdb version
> > 6.8.50.20090602
> > -cvs -nw -nx
> >
> > make: *** [check] Error 1
> >
> > I got the same results with cygwin gdb itself...
> >
> > I am currently investigating the two failures
> > above and I will come back to this in another email.
>
> Hi. For clarification, are these failures regressions, or do the
> tests still fail without the patch?

Not really, as these two tests are only run
if the target supports hardware watchpoints.
This means that current gdbserver from CVS HEAD
would skip that test.

Anyhow, I think that there are problems with the gdb.threads/watchthreads2.c
code with cygwin.
When run directly, this code should write a bunch of thread switches and
exit,
but I seems to freeze...

Pierre