diff options
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r-- | gdb/testsuite/gdb.base/a1-selftest.exp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/a1-selftest.exp b/gdb/testsuite/gdb.base/a1-selftest.exp index d22afb9..dbe4ec9 100644 --- a/gdb/testsuite/gdb.base/a1-selftest.exp +++ b/gdb/testsuite/gdb.base/a1-selftest.exp @@ -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" |