* gprof.c (funcsymbol): Invert test for aflag.

This commit is contained in:
Per Bothner 1993-02-28 02:18:40 +00:00
parent 14c5897713
commit 33023c9c9c
2 changed files with 5 additions and 1 deletions

View 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

View 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