aboutsummaryrefslogtreecommitdiff
path: root/gprof/gprof.c
diff options
context:
space:
mode:
authorMark Eichin <eichin@cygnus>1992-06-04 18:36:56 +0000
committerMark Eichin <eichin@cygnus>1992-06-04 18:36:56 +0000
commitba79f5fa08a04f1dea43cd8b750125e2ff49fce0 (patch)
tree7dea4912a29877f1c12280bde89625b46f2febb1 /gprof/gprof.c
parentf0e9ba1e6317d118af28ab75a2f8be30bc47071c (diff)
downloadgdb-ba79f5fa08a04f1dea43cd8b750125e2ff49fce0.zip
gdb-ba79f5fa08a04f1dea43cd8b750125e2ff49fce0.tar.gz
gdb-ba79f5fa08a04f1dea43cd8b750125e2ff49fce0.tar.bz2
Thu Jun 4 11:34:02 1992 Mark Eichin (eichin at cygnus.com)
* lookup.c: fixed fencepost in nllookup and added dbg_nllookup for help in debugging the problem (with -DDEBUG) * gprof.c: symbol values are now real values, don't add the vma anymore. (done for solaris; should verify this on other platforms) * ChangeLog: created.
Diffstat (limited to 'gprof/gprof.c')
-rw-r--r--gprof/gprof.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gprof/gprof.c b/gprof/gprof.c
index ce4c4e0..88cd5b6 100644
--- a/gprof/gprof.c
+++ b/gprof/gprof.c
@@ -265,7 +265,11 @@ bfd *abfd;
# endif DEBUG
continue;
}
+#if 0
npe->value = syms[i]->value + syms[i]->section->vma;
+#else
+ npe->value = syms[i]->value;
+#endif
npe->name = syms[i]->name;
# ifdef DEBUG
if ( debug & AOUTDEBUG ) {