OSDN Git Service

Prevent clear_command from directly modifying breakpoint list.
authorvprus <vprus>
Thu, 15 Nov 2007 06:28:18 +0000 (06:28 +0000)
committervprus <vprus>
Thu, 15 Nov 2007 06:28:18 +0000 (06:28 +0000)
commitbb00b0e4dafe330dca9bcf9718765feee5b80ac8
tree6e0f8969cad166aa6db9ad06ca26fb866ef6371f
parente9ee74aa60cec72ff1368e66b18a5b9e8ef7f97d
Prevent clear_command from directly modifying breakpoint list.
* Makefile.in (breakpoint_h): Update dependency.
* breakpoint.c (clear_command): Do not remove
breakpoints from breakpoint_chain.  Collect breakpoints
to delete in a vector.
* breakpoint.h (breakpoint_p): New typedef for pointer to
breakpoint.  Register vector of breakpoint_p.
ChangeLog
gdb/Makefile.in
gdb/breakpoint.c
gdb/breakpoint.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/ending-run.exp