* gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / a1-selftest.exp
index dbe4ec90d086228863fc9f9ea28283995231e710..ef2af847deb359b6e1434666afbb0b4aaee24966 100644 (file)
@@ -80,6 +80,15 @@ proc test_with_self {} {
        }
     }
 
+    # We'll need this when we send a ^C to GDB.  Need to do it before we
+    # run the program and gdb starts saving and restoring tty states.
+    # On Ultrix, we don't need it and it is really slow (because shell_escape
+    # doesn't use vfork).
+    if ![istarget "*-*-ultrix*"] then {
+       gdb_test "shell stty intr '^C'" "" \
+           "set interrupt character in test_with_self"
+    }
+
     # run yourself
     set description "run until breakpoint at main"
     send "run\n"
@@ -385,14 +394,6 @@ proc test_with_self {} {
        }
     }
 
-    # We'll need this when we send a ^C to GDB.
-    # On Ultrix, we don't need it and it is really slow (because shell_escape
-    # doesn't use vfork).
-    if ![istarget "*-*-ultrix*"] then {
-       gdb_test "shell stty intr '^C'" "" \
-           "set interrupt character in test_with_self"
-    }
-
     # start the "xgdb" process
     send "continue\n"
     expect {
This page took 0.026994 seconds and 4 git commands to generate.