Browse Source

Fixed a stupid error (used '+=' instead of '=').

gdb-4_18-branch
Sean Eric Fagan 36 years ago
parent
commit
dfedb39a5c
  1. 4
      gprof/sparc.c

4
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

Loading…
Cancel
Save