[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gprof/12468] Missing functions and call counts
From: |
vincent.riviere at freesbee dot fr |
Subject: |
[Bug gprof/12468] Missing functions and call counts |
Date: |
Sat, 5 Feb 2011 14:58:37 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12468
--- Comment #1 from Vincent Rivière <vincent.riviere at freesbee dot fr>
2011-02-05 14:58:23 UTC ---
This bug comes from gprof/corefile.c, in the function
core_create_function_syms().
Old code was:
symtab.limit->is_func = TRUE;
But the new code is:
symtab.limit->is_func = (core_syms[i]->flags & BSF_FUNCTION) != 0;
If I'm not wrong, the BSF_FUNCTION flag is not available on a.out targets, so
the symbols are never considered as functions.
It works fine when I revert to TRUE unconditionally.
Ideally, the BSF_FUNCTION flag should be tested only if it is available on the
target.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug gprof/12468] New: Missing functions and call counts, vincent.riviere at freesbee dot fr, 2011/02/05
- [Bug gprof/12468] Missing functions and call counts,
vincent.riviere at freesbee dot fr <=
- [Bug gprof/12468] Missing functions and call counts, amodra at gmail dot com, 2011/02/06
- [Bug gprof/12468] Missing functions and call counts, cvs-commit at gcc dot gnu.org, 2011/02/06
- [Bug gprof/12468] Missing functions and call counts, cvs-commit at gcc dot gnu.org, 2011/02/06
- [Bug gprof/12468] Missing functions and call counts, amodra at gmail dot com, 2011/02/06
- [Bug gprof/12468] Missing functions and call counts, vincent.riviere at freesbee dot fr, 2011/02/09