aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
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/breakpoint.c
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/breakpoint.c')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 5633f15..9225d15 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -9019,7 +9019,7 @@ watch_command_1 (char *arg, int accessflag, int from_tty,
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. */