Breakpoint hit counts, from Bob Rusk (rrusk@mail.csd.harris.com).
authorStan Shebs <shebs@codesourcery.com>
Thu, 14 Jul 1994 02:15:39 +0000 (02:15 +0000)
committerStan Shebs <shebs@codesourcery.com>
Thu, 14 Jul 1994 02:15:39 +0000 (02:15 +0000)
commit9f5772857f4f3b1b09e72963c59f61c131785e59
tree86d1df9413fc488cbae316af974cd63fd9990125
parentfbcbb8c4d40eca2914165498f7645a2aa077afca
Breakpoint hit counts, from Bob Rusk (rrusk@mail.csd.harris.com).
* breakpoint.h (hit_count): New breakpoint field.
* breakpoint.c (show_breakpoint_hit_counts): New variable.
(clear_breakpoint_hit_counts): New function.
(bpstat_stop_status): Increment the hit count.
(breakpoint_1): Display the hit count.
* infcmd.c (run_command): Reset breakpoint hit counts.
* target.c (generic_mourn_inferior): Don't clear ignore counts if
displaying hit counts.
gdb/ChangeLog
gdb/breakpoint.c
gdb/infcmd.c