diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-03-28 20:19:02 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-03-28 20:19:02 +0000 |
commit | d0fb5eaead43c6b5e73b113227b1be71c07fd213 (patch) | |
tree | 2231c45d70b956bc538f4231a45fa0fdb24ed053 /gdb/c-exp.y | |
parent | 20106cfbdb78a987e33d0ebc38946c01be275c26 (diff) | |
download | gdb-d0fb5eaead43c6b5e73b113227b1be71c07fd213.zip gdb-d0fb5eaead43c6b5e73b113227b1be71c07fd213.tar.gz gdb-d0fb5eaead43c6b5e73b113227b1be71c07fd213.tar.bz2 |
gdb/
Support a ring of related breakpoints.
* breakpoint.c (watchpoint_del_at_next_stop): New, move here code from
other functions, add gdb_assert.
(update_watchpoint, watchpoint_check): Add gdb_assert. Use
watchpoint_del_at_next_stop.
(bpstat_check_watchpoint): Use watchpoint_del_at_next_stop.
(bpstat_stop_status): Handle ring in related_breakpoint.
(set_raw_breakpoint_without_location): Initialize ring in
related_breakpoint.
(delete_breakpoint): Handle ring in related_breakpoint, use
watchpoint_del_at_next_stop.
(map_breakpoint_numbers): Handle ring in related_breakpoint.
gdb/testsuite/
Support a ring of related breakpoints.
* gdb.base/watchpoint-delete.c: New file.
* gdb.base/watchpoint-delete.exp: New file.
Diffstat (limited to 'gdb/c-exp.y')
0 files changed, 0 insertions, 0 deletions