From ff884d6e71c91fdbd996f9ec9eaead5a91a932e8 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 1 Feb 1995 18:21:30 +0000 Subject: [PATCH] * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same places as other ecoff systems). --- gdb/testsuite/gdb.base/a1-selftest.exp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/gdb/testsuite/gdb.base/a1-selftest.exp b/gdb/testsuite/gdb.base/a1-selftest.exp index dbe4ec90d08..ef2af847deb 100644 --- a/gdb/testsuite/gdb.base/a1-selftest.exp +++ b/gdb/testsuite/gdb.base/a1-selftest.exp @@ -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 { -- 2.30.2