From: Nick Clifton Date: Thu, 9 Apr 2009 13:07:34 +0000 (+0000) Subject: * corefile.c (core_create_function_syms): Initialise a symbol's X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8487be8ba80b9de04968c89e2108f6248e6d86f8;p=binutils-gdb.git * corefile.c (core_create_function_syms): Initialise a symbol's is_func field based on the setting of the BSF_FUNCTION flag. --- diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 1f640b29674..e7fd5efac7b 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,8 @@ +2009-04-09 Philippe Biondi + + * corefile.c (core_create_function_syms): Initialise a symbol's + is_func field based on the setting of the BSF_FUNCTION flag. + 2009-03-06 Nick Clifton * po/es.po: Updated Spanish translation. 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')