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

Pierre Muller
2009-06-03T16:27:27Z

> Thanks for running the tests.
> How about watchthreads.exp, watchthreads2.exp?

I just discovered that file regular expressions work for
the list of tests :)

With patched cygwin gdbserver:
$ make check "RUNTESTFLAGS=-target_board hext-gdbserver gdb.*/wat*.exp"
Nothing to be done for all...
rootme=`pwd`; export rootme; \
srcdir=../../../src/gdb/testsuite ; export srcdir ; \
EXPECT=`if [ -f ${rootme}/../../expect/expect ] ; then echo
${rootme}/..
/../expect/expect ; else echo expect ; fi` ; export EXPECT ; \
EXEEXT=.exe ; export EXEEXT ; \

LD_LIBRARY_PATH=$rootme/../../expect:$rootme/../../libstdc++:$rootme/../
../tk/unix:$rootme/../../tcl/unix:$rootme/../../bfd:$rootme/../../opcodes:$L
D_LI
BRARY_PATH; \
export LD_LIBRARY_PATH; \
if [ -f ${rootme}/../../expect/expect ] ; then \
TCL_LIBRARY=${srcdir}/../../tcl/library ; \
export TCL_LIBRARY ; fi ; \
` if [ -f ${srcdir}/../../dejagnu/runtest ]; then echo
${srcdir}/../../d
ejagnu/runtest; else if [ "i686-pc-cygwin" = "i686-pc-cygwin" ]; then echo
runte
st; else t='s,y,y,'; echo runtest | sed -e $t; fi; fi` -target_board
hext-gdbser
ver gdb.*/wat*.exp
Test Run By Pierre on Wed Jun 3 09:17:15 2009
Native configuration is i686-pc-cygwin

=== gdb tests ===

Schedule of variations:
hext-gdbserver

Running target hext-gdbserver
Using /home/Pierre/.dejagnu/boards/hext-gdbserver.exp as board description
file
for target.
Using ../../../src/gdb/testsuite/config/gdbserver.exp as
tool-and-target-specifi
c interface file.
Running ../../../src/gdb/testsuite/gdb.ada/watch_arg.exp ...
Running ../../../src/gdb/testsuite/gdb.base/watchpoint-hw.exp ...
Running ../../../src/gdb/testsuite/gdb.base/watchpoint-solib.exp ...
Running ../../../src/gdb/testsuite/gdb.base/watchpoint.exp ...
Running ../../../src/gdb/testsuite/gdb.base/watch_thread_num.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.

Pierre