This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
watchpoint.exp: Fix typo.
- From: Pedro Alves <palves at redhat dot com>
- To: GDB Patches <gdb-patches at sourceware dot org>
- Date: Thu, 26 Jan 2012 14:12:27 +0000
- Subject: watchpoint.exp: Fix typo.
- References: <4F215EE8.4080302@redhat.com>
2012-01-26 Pedro Alves <palves@redhat.com>
* gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix typo.
---
gdb/testsuite/gdb.base/watchpoint.exp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gdb/testsuite/gdb.base/watchpoint.exp b/gdb/testsuite/gdb.base/watchpoint.exp
index 56dd1d7..7a014f0 100644
--- a/gdb/testsuite/gdb.base/watchpoint.exp
+++ b/gdb/testsuite/gdb.base/watchpoint.exp
@@ -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"
--
Pedro Alves