mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-02 04:27:46 +08:00
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.
This commit is contained in:
@ -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. */
|
||||
|
Reference in New Issue
Block a user