From: Per Bothner Date: Sun, 28 Feb 1993 02:18:40 +0000 (+0000) Subject: * gprof.c (funcsymbol): Invert test for aflag. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=33023c9c9c5ad46ead9739d7ab156b5824445b42;p=binutils-gdb.git * gprof.c (funcsymbol): Invert test for aflag. --- diff --git a/gprof/ChangeLog b/gprof/ChangeLog index f97aaf3cbdf..4581aed4aae 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -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 diff --git a/gprof/gprof.c b/gprof/gprof.c index 169e2ec5abb..afb5b86794e 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