From f7945f452e55d8a62b16e80fe35b52109a249bf2 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 15 Mar 2005 16:20:42 +0000 Subject: Step through the sorted array of basic blocks. --- gprof/basic_blocks.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gprof/basic_blocks.c') diff --git a/gprof/basic_blocks.c b/gprof/basic_blocks.c index ed26cae..e974ee8 100644 --- a/gprof/basic_blocks.c +++ b/gprof/basic_blocks.c @@ -281,6 +281,8 @@ print_exec_counts () for (i = 0; i < len; ++i) { + sym = sorted_bbs [i]; + if (sym->ncalls > 0 || ! ignore_zeros) { /* FIXME: This only works if bfd_vma is unsigned long. */ -- cgit v1.1