mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +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:
parent
26063d4963
commit
4a4106caaf
@ -1,3 +1,7 @@
|
||||
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
|
||||
|
@ -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. */
|
||||
|
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user