Index: libstdc++-v3/testsuite/lib/gdb-test.exp
===================================================================
--- libstdc++-v3/testsuite/lib/gdb-test.exp	(revision 194619)
+++ libstdc++-v3/testsuite/lib/gdb-test.exp	(working copy)
@@ -219,7 +219,9 @@
     set gdb_name $::env(GUALITY_GDB_NAME)
     set cmd "$gdb_name -nw -nx -quiet -batch -ex \"$command\""
     send_log "Spawning: $cmd\n"
-    set res [remote_spawn target "$cmd"]
+    if [catch { set res [remote_spawn target "$cmd"] } ] {
+	return 0
+    }
     if { $res < 0 || $res == "" } {
 	return 0
     }
