aboutsummaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorSean Eric Fagan <sef@cygnus>1991-07-19 22:01:37 +0000
committerSean Eric Fagan <sef@cygnus>1991-07-19 22:01:37 +0000
commitdfedb39a5c3275a86be1a017b65a79e3bb8b228f (patch)
treec50184c13b1731e417494dcc8e0835e5e62d2a5b /gprof
parentcc5697d7a4f432999b5a08d0aa931d25a3ce2489 (diff)
downloadgdb-dfedb39a5c3275a86be1a017b65a79e3bb8b228f.zip
gdb-dfedb39a5c3275a86be1a017b65a79e3bb8b228f.tar.gz
gdb-dfedb39a5c3275a86be1a017b65a79e3bb8b228f.tar.bz2
Fixed a stupid error (used '+=' instead of '=').
Diffstat (limited to 'gprof')
-rw-r--r--gprof/sparc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gprof/sparc.c b/gprof/sparc.c
index 0bd6451..f344cff 100644
--- a/gprof/sparc.c
+++ b/gprof/sparc.c
@@ -1,4 +1,4 @@
-/*
+*
* Copyright (c) 1983 Regents of the University of California.
* All rights reserved.
*
@@ -82,7 +82,7 @@ findcall( parentp , p_lowpc , p_highpc )
printf( "[findcall]\t0x%x:callf" , instructp - textspace );
}
# endif DEBUG
- length += 4; /* constant length in a SPARC */
+ length = 4; /* constant length in a SPARC */
/*
* regular pc relative addressing
* check that this is the address of