From 2de75e717cf6e60bcaf9ec42e92bb6a9d43d96d5 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Fri, 8 Jan 2010 12:03:36 +0000 Subject: [PATCH] * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect call, to avoid interruption. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/lib/gdb.exp | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 1e7ac86be07..0bc0466b938 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-01-08 Joel Brobecker + + * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect + call, to avoid interruption. + 2010-01-08 Jan Kratochvil * gdb.stabs/weird.def (args93): New. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 4658c8d8510..fcaaf3cd8b1 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -312,13 +312,13 @@ proc gdb_start_cmd {args} { } send_gdb "start $args\n" + # Use -notransfer here so that test cases (like chng-sym.exp) + # may test for additional start-up messages. gdb_expect 60 { -re "The program .* has been started already.*y or n. $" { send_gdb "y\n" exp_continue } - # Use -notransfer here so that test cases (like chng-sym.exp) - # may test for additional start-up messages. -notransfer -re "Starting program: \[^\r\n\]*" { return 0 } -- 2.30.2