* 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.
+2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * breakpoint.c (watch_command_1): Remove colon from exp_string.
+
2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
* breakpoint.c (save_breakpoints): Verify whether
core_addr_to_string (addr));
xfree (name);
- b->exp_string = xstrprintf ("-location: %.*s",
+ b->exp_string = xstrprintf ("-location %.*s",
(int) (exp_end - exp_start), exp_start);
/* The above expression is in C. */
+2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
+ expect a colon in watch -location output.
+
2011-04-13 Marek Polacek <mpolacek@redhat.com>
* gdb.base/commands.exp (redefine_backtrace_test): Fix race.
# 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