summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/watchpoint.exp
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2011-04-13 18:32:24 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2011-04-13 18:32:24 +0000
commit29e9af773229625183b8fff686277f0089825a1a (patch)
tree417a6c141689388cfc874dab11ef5544eb1cebd8 /gdb/testsuite/gdb.base/watchpoint.exp
parent522f42b4b76b1a2d6ca1603274c497242d37f126 (diff)
downloadgdb-29e9af773229625183b8fff686277f0089825a1a.tar.gz
gdb/
* breakpoint.c (watch_command_1): Remove colon from exp_string. gdb/testsuite/ * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't expect a colon in watch -location output.
Diffstat (limited to 'gdb/testsuite/gdb.base/watchpoint.exp')
-rw-r--r--gdb/testsuite/gdb.base/watchpoint.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/watchpoint.exp b/gdb/testsuite/gdb.base/watchpoint.exp
index 7450602075d..1d8c5bcbf6b 100644
--- a/gdb/testsuite/gdb.base/watchpoint.exp
+++ b/gdb/testsuite/gdb.base/watchpoint.exp
@@ -685,7 +685,7 @@ proc test_inaccessible_watchpoint {} {
# The same, but using -location through an indirection.
gdb_test "watch -location *global_ptr" \
- "$watchpoint_msg \[0-9\]+: \-location: \\*global_ptr"
+ "$watchpoint_msg \[0-9\]+: \-location \\*global_ptr"
delete_breakpoints
# This step requires two HW watchpoints. Since some platforms only