* gprof.c (funcsymbol): Invert test for aflag.
authorPer Bothner <per@bothner.com>
Sun, 28 Feb 1993 02:18:40 +0000 (02:18 +0000)
committerPer Bothner <per@bothner.com>
Sun, 28 Feb 1993 02:18:40 +0000 (02:18 +0000)
gprof/ChangeLog
gprof/gprof.c

index f97aaf3..4581aed 100644 (file)
@@ -1,3 +1,7 @@
+Sat Feb 27 18:17:10 1993  Per Bothner  (bothner@rtl.cygnus.com)
+
+       * gprof.c (funcsymbol):  Invert test for aflag.
+
 Thu Feb 25 16:01:50 1993  Per Bothner  (bothner@rtl.cygnus.com)
 
        * printgprof (xmalloc, xrealloc):  Cast results of malloc
index 169e2ec..afb5b86 100644 (file)
@@ -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