diff options
author | Nick Clifton <nickc@redhat.com> | 2009-04-09 13:07:34 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-04-09 13:07:34 +0000 |
commit | 8487be8ba80b9de04968c89e2108f6248e6d86f8 (patch) | |
tree | 7845bbd2066a1459abdd026c4a926701f11a6168 /gprof | |
parent | b08bbc4b81e9ec8d8a51cd630acb4f13c96327df (diff) | |
download | gdb-8487be8ba80b9de04968c89e2108f6248e6d86f8.zip gdb-8487be8ba80b9de04968c89e2108f6248e6d86f8.tar.gz gdb-8487be8ba80b9de04968c89e2108f6248e6d86f8.tar.bz2 |
* corefile.c (core_create_function_syms): Initialise a symbol's
is_func field based on the setting of the BSF_FUNCTION flag.
Diffstat (limited to 'gprof')
-rw-r--r-- | gprof/ChangeLog | 5 | ||||
-rw-r--r-- | gprof/corefile.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 1f640b2..e7fd5ef 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,8 @@ +2009-04-09 Philippe Biondi <phil@secdev.org> + + * 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 <nickc@redhat.com> * po/es.po: Updated Spanish translation. diff --git a/gprof/corefile.c b/gprof/corefile.c index b3433c2..1f2575f 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') |