gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 4 Jul 2012 14:57:23 +0000 (14:57 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 4 Jul 2012 14:57:23 +0000 (14:57 +0000)
PR 12649
* gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
gdb_test_multiple $gdb_prompt terminator.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/dprintf.exp

index 496b09979953651e850c2ae39aa95db5e294d072..5c67be8dd54cafc062ead0f820ef15ef2f351cb2 100644 (file)
@@ -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
index 1e9d017bb7320e9180aae54a3119d3a8ae8bedfb..bd0615b783b55ad512f23131ef52116f01998beb 100644 (file)
@@ -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"
     }
This page took 0.040971 seconds and 4 git commands to generate.