Several thread tests contain patterns that explicitly look for the string "Thread" (capitalized) in the info threads output. But target remote prints it as "thread" (lower case), and so even though these tests can be run against gdbserver, they will fail. This patch just substitutes a pattern "\[Tt\]hread". Seem OK?