projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14c5897
)
* gprof.c (funcsymbol): Invert test for aflag.
author
Per Bothner
<per@bothner.com>
Sun, 28 Feb 1993 02:18:40 +0000
(
02:18
+0000)
committer
Per Bothner
<per@bothner.com>
Sun, 28 Feb 1993 02:18:40 +0000
(
02:18
+0000)
gprof/ChangeLog
patch
|
blob
|
history
gprof/gprof.c
patch
|
blob
|
history
diff --git
a/gprof/ChangeLog
b/gprof/ChangeLog
index f97aaf3cbdf5909abc49dffa9c2f523390c11764..4581aed4aae546d5d9e420c8eb83fb8bcf294343 100644
(file)
--- 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 169e2ec5abb0eb8dcac2d2dcd7ea9506ba04b4c1..afb5b86794e7d3fc3cc22de788470fc22785a8fb 100644
(file)
--- 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