aboutsummaryrefslogtreecommitdiff
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:25 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2011-04-13 18:32:25 +0000
commit4a4106caaff24e972f758975ce2d3b8eb257aaff (patch)
tree659f2352faf2cb8f3597b1dc70838c184e591df4 /gdb/testsuite/gdb.base/watchpoint.exp
parent26063d4963d175aad03043fbf637f4ed18288bfd (diff)
downloadgdb-4a4106caaff24e972f758975ce2d3b8eb257aaff.zip
gdb-4a4106caaff24e972f758975ce2d3b8eb257aaff.tar.gz
gdb-4a4106caaff24e972f758975ce2d3b8eb257aaff.tar.bz2
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 7450602..1d8c5bc 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