From: Jan Kratochvil Date: Wed, 4 Jul 2012 14:57:23 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=f9cf0f4ab2722b9e0ebd98f66d3072facc006b3f;p=deliverable%2Fbinutils-gdb.git gdb/testsuite/ PR 12649 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing gdb_test_multiple $gdb_prompt terminator. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 496b099799..5c67be8dd5 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2012-07-04 Jan Kratochvil + + PR 12649 + * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing + gdb_test_multiple $gdb_prompt terminator. + 2012-07-04 Pedro Alves * gdb.mi/mi-reverse.exp: Use supports_reverse and diff --git a/gdb/testsuite/gdb.base/dprintf.exp b/gdb/testsuite/gdb.base/dprintf.exp index 1e9d017bb7..bd0615b783 100644 --- a/gdb/testsuite/gdb.base/dprintf.exp +++ b/gdb/testsuite/gdb.base/dprintf.exp @@ -88,7 +88,7 @@ if ![target_info exists gdb,noinferiorio] { set target_can_dprintf 1 set msg "Set dprintf style to agent" gdb_test_multiple "set dprintf-style agent" $msg { - -re "warning: Target cannot run dprintf commands.*" { + -re "warning: Target cannot run dprintf commands.*\r\n$gdb_prompt $" { set target_can_dprintf 0 pass "$msg - cannot do" }