This patch gets rid of a couple test fails in linespec.exp that we've observed from remote-host i686-mingw32 testing of Canadian cross toolchains for multiple targets. As I observed in my notes on a previous patch http://sourceware.org/ml/gdb-patches/2013-04/msg00053.html in this configuration the test harness copies the source files to the working directory on the remote host and compiles them there, without a directory prefix. So, tests that depend on a directory prefix being present (in this case, to disambiguate files that otherwise have the same name) can't be expected to work. OK to commit? -Sandra 2013-04-03 Sandra Loosemore gdb/testsuite/ * gdb.linespec/linespec.exp (test_class): Make dir/file:line tests conditional for non-remote hosts only.