* gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
authorKeith Seitz <keiths@redhat.com>
Wed, 27 Mar 2013 05:28:57 +0000 (05:28 +0000)
committerKeith Seitz <keiths@redhat.com>
Wed, 27 Mar 2013 05:28:57 +0000 (05:28 +0000)
from passing.

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

index 2d96caa..9978153 100644 (file)
@@ -1,3 +1,8 @@
+2013-03-26  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.base/dprintf.exp: Fix typo preventing "dprintf info 2"
+       from passing.
+
 2013-03-26  Pedro Alves  <palves@redhat.com>
 
        * lib/gdb.exp (skip_btrace_tests): Delay deleting the source file
index 2b00c24..253e016 100644 (file)
@@ -119,7 +119,7 @@ if $target_can_dprintf {
     gdb_test "continue" "Breakpoint \[0-9\]+, foo .*" "2nd dprintf, agent"
 
     gdb_test_sequence "info breakpoints" "dprintf info 2" {
-       "\[\r\n\]Num     Type           Disp Enb Address    What"
+       "\[\r\n\]Num     Type           Disp Enb Address +What"
        "\[\r\n\]2       breakpoint"
        "\[\r\n\]\tbreakpoint already hit 2 times"
        "\[\r\n\]3       dprintf"