Fixed a stupid error (used '+=' instead of '=').
authorSean Eric Fagan <sef@cygnus>
Fri, 19 Jul 1991 22:01:37 +0000 (22:01 +0000)
committerSean Eric Fagan <sef@cygnus>
Fri, 19 Jul 1991 22:01:37 +0000 (22:01 +0000)
gprof/sparc.c

index 0bd64510279cf4e1b850071cd7f0efb8fcb00330..f344cff974a8d315dba8191b5958e8f0d8c5e9da 100644 (file)
@@ -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