Localize infrun use of remove_breakpoints.
commit3f8883f4673cb874a21ba57ef83f96f08c2f2b6d
authorVladimir Prus <vladimir@codesourcery.com>
Fri, 23 Nov 2007 13:19:03 +0000 (23 16:19 +0300)
committerVladimir Prus <vladimir@codesourcery.com>
Thu, 6 Dec 2007 12:59:44 +0000 (6 15:59 +0300)
tree6b36db624d11aceed2586030cb60cdaf35cb9445
parent04f0b5d549a2e5245b6100c99f7b7d727d56c406
Localize infrun use of remove_breakpoints.

* infrun.c (handle_inferior_event): Remove
calls to remove_breakpoints, except where needed to
communicate change of breakpoint locations to inferior.
(keep_going): If steppping over breakpoint, remove
breakpoints.
gdb/infrun.c