diff options
author | Nick Clifton <nickc@redhat.com> | 2011-10-26 09:51:57 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2011-10-26 09:51:57 +0000 |
commit | bca206132b331000c92c40cfdb3eff985384a082 (patch) | |
tree | fe81184109f4a4983968399db51cbae87359875d /gprof/hist.c | |
parent | d7e295af9b005462696e1320acc1486f19d4c92e (diff) | |
download | binutils-redhat-bca206132b331000c92c40cfdb3eff985384a082.tar.gz |
* hist.c (hist_assign_samples_1): Update comment.
Diffstat (limited to 'gprof/hist.c')
-rw-r--r-- | gprof/hist.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gprof/hist.c b/gprof/hist.c index 3b77ab0e9a..91b0000168 100644 --- a/gprof/hist.c +++ b/gprof/hist.c @@ -389,8 +389,10 @@ hist_assign_samples_1 (histogram *r) bin_count)); total_time += count_time; - /* Credit all symbols that are covered by bin I. */ - /* PR gprof/13325: Make sure that J does not go below I. */ + /* Credit all symbols that are covered by bin I. + + PR gprof/13325: Make sure that K does not get decremented + and J will never be less than 0. */ for (j = k - 1; j < symtab.len; k = ++j) { sym_low_pc = symtab.base[j].hist.scaled_addr; |