2011-09-13 Pedro Alves <pedro@codesourcery.com>
authorPedro Alves <palves@redhat.com>
Tue, 13 Sep 2011 16:37:13 +0000 (16:37 +0000)
committerPedro Alves <palves@redhat.com>
Tue, 13 Sep 2011 16:37:13 +0000 (16:37 +0000)
commita1398e0c5690d181307a819fbe9cc4e08e518fbc
treebe0204b7e0fd60e868b8a8ff10e35ac4a2cecf70
parent40b2987463cd3792ba025dc2fbb8a640bb49f45a
2011-09-13  Pedro Alves  <pedro@codesourcery.com>

* breakpoint.c (update_watchpoint): Handle the case of the
watchpoint to update not being in the breakpoint list yet.
(hw_watchpoint_use_count): New, factored out from
hw_watchpoint_used_count.
(hw_watchpoint_used_count): Rename to ...
(hw_watchpoint_used_count_others): ... this.  Add `except'
parameter.  Don't count resources of `except'.  Use
hw_watchpoint_use_count.
gdb/ChangeLog
gdb/breakpoint.c