diff options
author | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2011-04-13 18:32:25 +0000 |
---|---|---|
committer | Thiago Jung Bauermann <bauerman@br.ibm.com> | 2011-04-13 18:32:25 +0000 |
commit | 4a4106caaff24e972f758975ce2d3b8eb257aaff (patch) | |
tree | 659f2352faf2cb8f3597b1dc70838c184e591df4 /gdb/breakpoint.c | |
parent | 26063d4963d175aad03043fbf637f4ed18288bfd (diff) | |
download | gdb-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.c | 2 |
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. */ |