Browse Source

gdb/testsuite/

PR 12649
	* gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
	gdb_test_multiple $gdb_prompt terminator.
cygwin-64bit-branch
Jan Kratochvil 14 years ago
parent
commit
f9cf0f4ab2
  1. 6
      gdb/testsuite/ChangeLog
  2. 2
      gdb/testsuite/gdb.base/dprintf.exp

6
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

2
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"
}

Loading…
Cancel
Save