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-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to