[BACK]Return to tahoe.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / gprof

Diff for /src/usr.bin/gprof/Attic/tahoe.c between version 1.3 and 1.4

version 1.3, 2001/03/22 05:18:30 version 1.4, 2002/03/25 16:30:55
Line 253 
Line 253 
             printf( "[findcall] %s: 0x%x to 0x%x\n" ,              printf( "[findcall] %s: 0x%x to 0x%x\n" ,
                     parentp -> name , p_lowpc , p_highpc );                      parentp -> name , p_lowpc , p_highpc );
         }          }
 #   endif DEBUG  #   endif /* DEBUG */
     for (   instructp = textspace + p_lowpc ;      for (   instructp = textspace + p_lowpc ;
             instructp < textspace + p_highpc ;              instructp < textspace + p_highpc ;
             instructp += length ) {              instructp += length ) {
Line 267 
Line 267 
                 if ( debug & CALLDEBUG ) {                  if ( debug & CALLDEBUG ) {
                     printf( "[findcall]\t0x%x:callf" , instructp - textspace );                      printf( "[findcall]\t0x%x:callf" , instructp - textspace );
                 }                  }
 #           endif DEBUG  #           endif /* DEBUG */
             firstmode = operandmode( instructp+length );              firstmode = operandmode( instructp+length );
             switch ( firstmode ) {              switch ( firstmode ) {
                 case literal:                  case literal:
Line 283 
Line 283 
                     printf( "\tfirst operand is %s", operandname( firstmode ) );                      printf( "\tfirst operand is %s", operandname( firstmode ) );
                     printf( "\tsecond operand is %s\n" , operandname( mode ) );                      printf( "\tsecond operand is %s\n" , operandname( mode ) );
                 }                  }
 #           endif DEBUG  #           endif /* DEBUG */
             switch ( mode ) {              switch ( mode ) {
                 case regdef:                  case regdef:
                 case bytedispdef:                  case bytedispdef:
Line 322 
Line 322 
                                 printf( " childp->value 0x%x\n" ,                                  printf( " childp->value 0x%x\n" ,
                                         childp -> value );                                          childp -> value );
                             }                              }
 #                       endif DEBUG  #                       endif /* DEBUG */
                         if ( childp -> value == destpc ) {                          if ( childp -> value == destpc ) {
                                 /*                                  /*
                                  *      a hit                                   *      a hit
Line 348 
Line 348 
                         if ( debug & CALLDEBUG ) {                          if ( debug & CALLDEBUG ) {
                             printf( "[findcall]\tbut it's a botch\n" );                              printf( "[findcall]\tbut it's a botch\n" );
                         }                          }
 #                   endif DEBUG  #                   endif /* DEBUG */
                     length = 1;                      length = 1;
                     continue;                      continue;
             }              }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4