aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-07-04 14:57:23 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-07-04 14:57:23 +0000
commitf9cf0f4ab2722b9e0ebd98f66d3072facc006b3f (patch)
tree60aea361de153c0b3f5f03a4886affc3073ed08f /gdb
parent979ade8b165a932d16a10ef5fd77b8b2c0632377 (diff)
downloadgdb-f9cf0f4ab2722b9e0ebd98f66d3072facc006b3f.zip
gdb-f9cf0f4ab2722b9e0ebd98f66d3072facc006b3f.tar.gz
gdb-f9cf0f4ab2722b9e0ebd98f66d3072facc006b3f.tar.bz2
gdb/testsuite/
PR 12649 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing gdb_test_multiple $gdb_prompt terminator.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.base/dprintf.exp2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 496b099..5c67be8 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ PR 12649
+ * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
+ gdb_test_multiple $gdb_prompt terminator.
+
2012-07-04 Pedro Alves <palves@redhat.com>
* 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 1e9d017..bd0615b 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"
}