summaryrefslogtreecommitdiff
path: root/gprof/corefile.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/corefile.c')
-rw-r--r--gprof/corefile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/corefile.c b/gprof/corefile.c
index b3433c299c6..1f2575f3614 100644
--- a/gprof/corefile.c
+++ b/gprof/corefile.c
@@ -572,7 +572,7 @@ core_create_function_syms ()
}
}
- symtab.limit->is_func = TRUE;
+ symtab.limit->is_func = (core_syms[i]->flags & BSF_FUNCTION) != 0;
symtab.limit->is_bb_head = TRUE;
if (class == 't')