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

Diff for /src/usr.bin/pmdb/Attic/symbol.c between version 1.6 and 1.7

version 1.6, 2002/07/24 14:06:27 version 1.7, 2003/03/28 23:33:27
Line 132 
Line 132 
         if (name == NULL) {          if (name == NULL) {
                 snprintf(buf, buflen, "0x%lx", pc);                  snprintf(buf, buflen, "0x%lx", pc);
         } else {          } else {
                 snprintf(buf, buflen, "%s+0x%lx(0x%lx)", name, offs, pc);                  if (offs)
                           snprintf(buf, buflen, "%s+0x%lx(0x%lx)",
                               name, offs, pc);
                   else
                           snprintf(buf, buflen, "%s(0x%lx)", name, pc);
         }          }
   
         return (buf);          return (buf);

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7