* gdb.threads/watchthreads2.exp: New testcase.