This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog breakpoint.c testsuite/Chang ...
- From: jkratoch at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 28 Mar 2011 20:19:02 -0000
- Subject: src/gdb ChangeLog breakpoint.c testsuite/Chang ...
CVSROOT: /cvs/src
Module name: src
Changes by: jkratoch@sourceware.org 2011-03-28 20:19:02
Modified files:
gdb : ChangeLog breakpoint.c
gdb/testsuite : ChangeLog
Added files:
gdb/testsuite/gdb.base: watchpoint-delete.c
watchpoint-delete.exp
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12864&r2=1.12865
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/breakpoint.c.diff?cvsroot=src&r1=1.555&r2=1.556
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2651&r2=1.2652
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/watchpoint-delete.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.base/watchpoint-delete.exp.diff?cvsroot=src&r1=NONE&r2=1.1