From 8ce07a211b4e227e8eedbb803f453506871bf48d Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 19 May 1993 03:29:10 +0000 Subject: [PATCH] * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?" not just "Quit anyway?". --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/config/mips-gdb.exp | 2 +- gdb/testsuite/config/nind-gdb.exp | 2 +- gdb/testsuite/config/udi-gdb.exp | 2 +- gdb/testsuite/config/unix-gdb.exp | 2 +- gdb/testsuite/config/vx-gdb.exp | 2 +- 6 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index b7f32ada059..6633a8828a4 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?" + not just "Quit anyway?". + Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com) * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure diff --git a/gdb/testsuite/config/mips-gdb.exp b/gdb/testsuite/config/mips-gdb.exp index 489f053041f..6ed471467bd 100644 --- a/gdb/testsuite/config/mips-gdb.exp +++ b/gdb/testsuite/config/mips-gdb.exp @@ -127,7 +127,7 @@ proc gdb_exit {} { send_user "Got TIMEOUT from $GDB\n" } } - -re "The program is running. Quit anyway? (y or n) $" { + -re "The program is running. Quit anyway.*? (y or n) $" { send "y\n" if $verbose>1 then { send_user "\t\tKilling program being debugged\n" diff --git a/gdb/testsuite/config/nind-gdb.exp b/gdb/testsuite/config/nind-gdb.exp index c9c6b2c303e..3f561ab0b42 100644 --- a/gdb/testsuite/config/nind-gdb.exp +++ b/gdb/testsuite/config/nind-gdb.exp @@ -71,7 +71,7 @@ proc gdb_exit {} { send_user "Got TIMEOUT from $GDB\n" } } - -re "The program is running. Quit anyway? (y or n) $"\ + -re "The program is running. Quit anyway.*? (y or n) $"\ { send "y\n" if $verbose>1 then { send_user "\t\tKilling program being debugged\n" diff --git a/gdb/testsuite/config/udi-gdb.exp b/gdb/testsuite/config/udi-gdb.exp index 2b5ba153d39..c12c3aac05a 100644 --- a/gdb/testsuite/config/udi-gdb.exp +++ b/gdb/testsuite/config/udi-gdb.exp @@ -107,7 +107,7 @@ proc gdb_exit {} { send_user "Got TIMEOUT from $GDB\n" } } - -re "The program is running. Quit anyway? (y or n) $"\ + -re "The program is running. Quit anyway.*? (y or n) $"\ { send "y\n" if $verbose>1 then { send_user "\t\tKilling program being debugged\n" diff --git a/gdb/testsuite/config/unix-gdb.exp b/gdb/testsuite/config/unix-gdb.exp index 0cba86492a5..05578f957ab 100644 --- a/gdb/testsuite/config/unix-gdb.exp +++ b/gdb/testsuite/config/unix-gdb.exp @@ -172,7 +172,7 @@ proc gdb_exit {} { } close } - -re "The program is running. Quit anyway? (y or n) $" { + -re "The program is running. Quit anyway.*? (y or n) $" { send "y\n" if $verbose>1 then { send_user "\t\tKilling program being debugged\n" diff --git a/gdb/testsuite/config/vx-gdb.exp b/gdb/testsuite/config/vx-gdb.exp index 5d836a04813..44e89e382bf 100644 --- a/gdb/testsuite/config/vx-gdb.exp +++ b/gdb/testsuite/config/vx-gdb.exp @@ -134,7 +134,7 @@ proc quit_vxgdb { } { send_user "Got TIMEOUT from $GDB\n" } } - -re "The program is running. Quit anyway? (y or n) $"\ + -re "The program is running. Quit anyway.*? (y or n) $"\ { send "y\n" if $verbose>1 then { send_user "\t\tKilling program being debugged\n" -- 2.30.2