aboutsummaryrefslogtreecommitdiff
path: root/gprof/gprof.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1993-02-28 02:18:40 +0000
committerPer Bothner <per@bothner.com>1993-02-28 02:18:40 +0000
commit33023c9c9c5ad46ead9739d7ab156b5824445b42 (patch)
tree60f43cbe36fe2173fe59d74370f82f094bd5bd68 /gprof/gprof.c
parent14c58977130bb45307e3e4b3c0a6e9dfca065de1 (diff)
downloadgdb-33023c9c9c5ad46ead9739d7ab156b5824445b42.zip
gdb-33023c9c9c5ad46ead9739d7ab156b5824445b42.tar.gz
gdb-33023c9c9c5ad46ead9739d7ab156b5824445b42.tar.bz2
* gprof.c (funcsymbol): Invert test for aflag.
Diffstat (limited to 'gprof/gprof.c')
-rw-r--r--gprof/gprof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/gprof.c b/gprof/gprof.c
index 169e2ec..afb5b86 100644
--- a/gprof/gprof.c
+++ b/gprof/gprof.c
@@ -685,7 +685,7 @@ funcsymbol( symp )
if (!symp->section)
return FALSE;
- if (!aflag && (symp->flags&BSF_LOCAL)) {
+ if (aflag && (symp->flags&BSF_LOCAL)) {
#if defined(DEBUG)
fprintf (stderr, "%s(%d): %s: not a function\n", __FILE__, __LINE__, symp->name);
#endif