1: /*
   2:  *	UNIX  2.9BSD  CRASH  ANALYZER  INCLUDE
   3:  */
   4: 
   5: #define END 0,0,0       /* Last structure entry */
   6: 
   7: /* Format codes */
   8: 
   9: # define OCT        1
  10: # define TADDR      2   /* text address symbolic printing */
  11: # define DEC        3   /* Decimal, unsigned */
  12: # define DEV        4
  13: # define ONEBYTE    5
  14: # define CHARS      6
  15: # define HALFDEC    7
  16: # define DADDR      8   /* data address symbolic printing */
  17: # define LONGDEC    9   /* long decimal printout */
  18: # define LONGOCT    10  /* long octal printout */
  19: # define UDEC       11  /* unsigned decimal */
  20: # define HEXL       12
  21: # define HEXW       13
  22: # define HEX        13
  23: # define HEXB       14
  24: # define IGNORE     15  /* ignore this entry */
  25: 
  26: # define NEWPAGE    014     /* FF */
  27: # define LINESPERPAGE   60      /* page size */
  28: 
  29: # define NSYM       0       /* undefined */
  30: # define ISYM       2       /* if you want a text symbol */
  31: # define DSYM       7       /* data, or bss symbol */
  32: 
  33: #define NOTFOUND    0177777 /* value indicating symbol not found */
  34: 
  35: struct fetch {
  36:     char    *symbol;        /* Symboltable entry name */
  37:     char    *addr;          /* Addr to load to */
  38:     int f_size;         /* # of bytes to load */
  39: };
  40: 
  41: struct display {
  42:     char    *msg;           /* Message to preceed element */
  43:     char    *place;         /* Base addr of data (offset added here) */
  44:     int fmt;            /* display format */
  45:     int (*routine)();       /* extra routine to call per field */
  46: };
  47: 
  48: 
  49: /*
  50:  * Interrupt Tracing Strutures - The SYS Group
  51:  */
  52: struct  itrace  {
  53:     unsigned    intps;      /* interrupted PS */
  54:     unsigned    intpc;      /* interrupted PC */
  55:     unsigned    r0;     /* r0 from trap vector */
  56:     unsigned    savps;      /* saved PS (software traps) */
  57: };
  58: 
  59: 
  60: 
  61: struct syment {
  62:     char name[8];
  63:     char flags;
  64:     char ovno;
  65:     unsigned value;
  66: };
  67: 
  68: struct symsml {
  69:     char sflags;
  70:     char sovno;
  71:     unsigned svalue;
  72: };
  73: 
  74: unsigned find();
  75: unsigned findv();

Defined struct's

display defined in line 41; used 30 times
fetch defined in line 35; used 12 times
itrace defined in line 52; used 8 times
syment defined in line 61; used 20 times
symsml defined in line 68; used 14 times

Defined macros

CHARS defined in line 14; used 1 times
DADDR defined in line 16; used 2 times
DEC defined in line 11; used 36 times
DEV defined in line 12; used 9 times
END defined in line 5; used 18 times
HALFDEC defined in line 15; used 12 times
HEX defined in line 22; used 1 times
HEXB defined in line 23; never used
HEXL defined in line 20; used 5 times
HEXW defined in line 21; never used
IGNORE defined in line 24; used 1 times
LONGDEC defined in line 17; used 4 times
LONGOCT defined in line 18; never used
NEWPAGE defined in line 26; used 1 times
NOTFOUND defined in line 33; used 4 times
NSYM defined in line 29; used 1 times
OCT defined in line 9; used 91 times
ONEBYTE defined in line 13; used 5 times
TADDR defined in line 10; used 3 times
UDEC defined in line 19; used 8 times

Usage of this include

Last modified: 1987-07-26
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2500
Valid CSS Valid XHTML 1.0 Strict