2012-01-27 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Fri, 27 Jan 2012 13:54:03 +0000 (13:54 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 27 Jan 2012 13:54:03 +0000 (13:54 +0000)
* gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
typo.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/watchpoint.exp

index 30f4a047e783b42e730ba342a7d57bf633229ce2..05efa9aa071a3e2fe527c7f3e4a0fdbb62ea39b1 100644 (file)
@@ -1,3 +1,8 @@
+2012-01-27  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
+       typo.
+
 2012-01-27  Pedro Alves  <palves@redhat.com>
 
        * config/extended-gdbserver.exp: New file.
index 56dd1d740c3fd084ef927e3a61194042367208bb..7a014f06cbd6f6949725277ca39e90340fc7eafa 100644 (file)
@@ -773,7 +773,7 @@ proc test_inaccessible_watchpoint {} {
        gdb_test "delete \$global_ptr_breakpoint_number" ""
        gdb_test "watch **global_ptr_ptr" ".*atchpoint \[0-9\]+: \\*\\*global_ptr_ptr"
        gdb_test "set \$global_ptr_ptr_breakpoint_number = \$bpnum" ""
-       gdb_test "next" ".*global_ptr_ptr = &global_ptr.*" "gloabl_ptr_ptr next"
+       gdb_test "next" ".*global_ptr_ptr = &global_ptr.*" "global_ptr_ptr next"
        gdb_test "next" ".*atchpoint \[0-9\]+: \\*\\*global_ptr_ptr\[\r\n\]+Old value = .*\r\nNew value = 7 .*" "next over global_ptr_ptr init"
        gdb_test "next" ".*atchpoint \[0-9\]+: \\*\\*global_ptr_ptr\[\r\n\]+Old value = 7 .*\r\nNew value = 9 .*" "next over global_ptr_ptr buffer set"
        gdb_test "next" ".*atchpoint \[0-9\]+: \\*\\*global_ptr_ptr\[\r\n\]+Old value = 9 .*\r\nNew value = 5 .*" "next over global_ptr_ptr pointer advance"