From: Daniel Jacobowitz Date: Fri, 27 Jul 2007 15:15:02 +0000 (+0000) Subject: * gdb.base/readline.exp (operate_and_get_next): Match the final X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d4e0720445d4974a9b539df523c3c57ea393a059;p=binutils-gdb.git * gdb.base/readline.exp (operate_and_get_next): Match the final prompt. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 6ff8b26ea52..3d579ef94ad 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-07-27 Daniel Jacobowitz + + * gdb.base/readline.exp (operate_and_get_next): Match the final + prompt. + 2007-07-23 Kevin Buettner * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior diff --git a/gdb/testsuite/gdb.base/readline.exp b/gdb/testsuite/gdb.base/readline.exp index 2ad8580c84a..99c68bf88a9 100644 --- a/gdb/testsuite/gdb.base/readline.exp +++ b/gdb/testsuite/gdb.base/readline.exp @@ -139,6 +139,9 @@ proc operate_and_get_next {name args} { set count [expr {$count + 2}] } + # Match the prompt so the next test starts at the right place. + gdb_test "" "" "$name - final prompt" + return 1 }