* gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
authorJim Kingdon <jkingdon@engr.sgi.com>
Wed, 1 Feb 1995 16:11:07 +0000 (16:11 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Wed, 1 Feb 1995 16:11:07 +0000 (16:11 +0000)
ultrix.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/a1-selftest.exp

index b386605d3f56f261c1df58497a08b1a7a8236c5b..b8a5efa7c54c335404e824b1cb02cd08560f12d4 100644 (file)
@@ -1,3 +1,8 @@
+Wed Feb  1 08:03:48 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
+
+       * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
+       ultrix.
+
 Mon Jan 30 11:44:52 1995  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
        * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
index d22afb9934ce9450d3ab201601a85eb7c63e1ecf..dbe4ec90d086228863fc9f9ea28283995231e710 100644 (file)
@@ -385,9 +385,13 @@ proc test_with_self {} {
        }
     }
 
-    # We'll need this when we send a ^C to GDB    
-    gdb_test "shell stty intr '^C'" "" \
-       "set interrupt character in 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"