home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Atari / Gnu / gassrc04.zoo / objrecdef.h < prev    next >
C/C++ Source or Header  |  1991-01-24  |  7KB  |  256 lines

  1. /*
  2.  *
  3.  *    $OBJRECDEF
  4.  *    Generated automatically by "vms_struct Version 1.00"
  5.  *    Created from VMS definition file "objrecdef.mar"
  6.  *    Mon Oct 14 14:01:29 1985
  7.  *
  8.  */
  9. struct OBJREC {
  10.     unsigned char    obj$b_rectyp;
  11.     unsigned char    obj$b_subtyp;
  12.     unsigned char    obj$b_mhd_strlv;
  13.     unsigned char    obj$b_mhd_recsz[2];
  14.     unsigned char    obj$t_mhd_name[1];
  15.     };
  16.  
  17. #define    OBJ$C_HDR    0
  18. #define    OBJ$C_HDR_MHD    0
  19. #define    OBJ$C_HDR_LNM    1
  20. #define    OBJ$C_HDR_SRC    2
  21. #define    OBJ$C_HDR_TTL    3
  22. #define    OBJ$C_HDR_CPR    4
  23. #define    OBJ$C_HDR_MTC    5
  24. #define    OBJ$C_HDR_GTX    6
  25. #define    OBJ$C_GSD    1
  26. #define    OBJ$C_GSD_PSC    0
  27. #define    OBJ$C_GSD_SYM    1
  28. #define    OBJ$C_GSD_EPM    2
  29. #define    OBJ$C_GSD_PRO    3
  30. #define    OBJ$C_GSD_SYMW    4
  31. #define    OBJ$C_GSD_EPMW    5
  32. #define    OBJ$C_GSD_PROW    6
  33. #define    OBJ$C_GSD_IDC    7
  34. #define    OBJ$C_GSD_ENV    8
  35. #define    OBJ$C_GSD_LSY    9
  36. #define    OBJ$C_GSD_LEPM    10
  37. #define    OBJ$C_GSD_LPRO    11
  38. #define    OBJ$C_GSD_SPSC    12
  39. #define    OBJ$C_TIR    2
  40. #define    OBJ$C_EOM    3
  41. #define    OBJ$C_DBG    4
  42. #define    OBJ$C_TBT    5
  43. #define    OBJ$C_LNK    6
  44. #define    OBJ$C_EOMW    7
  45. #define    OBJ$C_MAXRECTYP    7
  46. #define    OBJ$K_SUBTYP    1
  47. #define    OBJ$C_SUBTYP    1
  48. #define    OBJ$C_MAXRECSIZ    2048
  49. #define    OBJ$C_STRLVL    0
  50. #define    OBJ$C_SYMSIZ    31
  51. #define    OBJ$C_STOREPLIM    -1
  52. #define    OBJ$C_PSCALILIM    9
  53.  
  54. #define    MHD$C_MHD    0
  55. #define    MHD$C_LNM    1
  56. #define    MHD$C_SRC    2
  57. #define    MHD$C_TTL    3
  58. #define    MHD$C_CPR    4
  59. #define    MHD$C_MTC    5
  60. #define    MHD$C_GTX    6
  61. #define    MHD$C_MAXHDRTYP    6
  62.  
  63. #define    GSD$K_ENTRIES    1
  64. #define    GSD$C_ENTRIES    1
  65. #define    GSD$C_PSC    0
  66. #define    GSD$C_SYM    1
  67. #define    GSD$C_EPM    2
  68. #define    GSD$C_PRO    3
  69. #define    GSD$C_SYMW    4
  70. #define    GSD$C_EPMW    5
  71. #define    GSD$C_PROW    6
  72. #define    GSD$C_IDC    7
  73. #define    GSD$C_ENV    8
  74. #define    GSD$C_LSY    9
  75. #define    GSD$C_LEPM    10
  76. #define    GSD$C_LPRO    11
  77. #define    GSD$C_SPSC    12
  78. #define    GSD$C_SYMV    13
  79. #define    GSD$C_EPMV    14
  80. #define    GSD$C_PROV    15
  81. #define    GSD$C_MAXRECTYP    15
  82.  
  83. #define    GSY$M_WEAK    1
  84. #define    GSY$M_DEF    2
  85. #define    GSY$M_UNI    4
  86. #define    GSY$M_REL    8
  87.  
  88. #define    GPS$M_PIC    1
  89. #define    GPS$M_LIB    2
  90. #define    GPS$M_OVR    4
  91. #define    GPS$M_REL    8
  92. #define    GPS$M_GBL    16
  93. #define    GPS$M_SHR    32
  94. #define    GPS$M_EXE    64
  95. #define    GPS$M_RD    128
  96. #define    GPS$M_WRT    256
  97. #define    GPS$M_VEC    512
  98. #define    GPS$K_NAME    9
  99. #define    GPS$C_NAME    9
  100.  
  101. #define    TIR$C_STA_GBL    0
  102. #define    TIR$C_STA_SB    1
  103. #define    TIR$C_STA_SW    2
  104. #define    TIR$C_STA_LW    3
  105. #define    TIR$C_STA_PB    4
  106. #define    TIR$C_STA_PW    5
  107. #define    TIR$C_STA_PL    6
  108. #define    TIR$C_STA_UB    7
  109. #define    TIR$C_STA_UW    8
  110. #define    TIR$C_STA_BFI    9
  111. #define    TIR$C_STA_WFI    10
  112. #define    TIR$C_STA_LFI    11
  113. #define    TIR$C_STA_EPM    12
  114. #define    TIR$C_STA_CKARG    13
  115. #define    TIR$C_STA_WPB    14
  116. #define    TIR$C_STA_WPW    15
  117. #define    TIR$C_STA_WPL    16
  118. #define    TIR$C_STA_LSY    17
  119. #define    TIR$C_STA_LIT    18
  120. #define    TIR$C_STA_LEPM    19
  121. #define    TIR$C_MAXSTACOD    19
  122. #define    TIR$C_MINSTOCOD    20
  123. #define    TIR$C_STO_SB    20
  124. #define    TIR$C_STO_SW    21
  125. #define    TIR$C_STO_L    22
  126. #define    TIR$C_STO_BD    23
  127. #define    TIR$C_STO_WD    24
  128. #define    TIR$C_STO_LD    25
  129. #define    TIR$C_STO_LI    26
  130. #define    TIR$C_STO_PIDR    27
  131. #define    TIR$C_STO_PICR    28
  132. #define    TIR$C_STO_RSB    29
  133. #define    TIR$C_STO_RSW    30
  134. #define    TIR$C_STO_RL    31
  135. #define    TIR$C_STO_VPS    32
  136. #define    TIR$C_STO_USB    33
  137. #define    TIR$C_STO_USW    34
  138. #define    TIR$C_STO_RUB    35
  139. #define    TIR$C_STO_RUW    36
  140. #define    TIR$C_STO_B    37
  141. #define    TIR$C_STO_W    38
  142. #define    TIR$C_STO_RB    39
  143. #define    TIR$C_STO_RW    40
  144. #define    TIR$C_STO_RIVB    41
  145. #define    TIR$C_STO_PIRR    42
  146. #define    TIR$C_MAXSTOCOD    42
  147. #define    TIR$C_MINOPRCOD    50
  148. #define    TIR$C_OPR_NOP    50
  149. #define    TIR$C_OPR_ADD    51
  150. #define    TIR$C_OPR_SUB    52
  151. #define    TIR$C_OPR_MUL    53
  152. #define    TIR$C_OPR_DIV    54
  153. #define    TIR$C_OPR_AND    55
  154. #define    TIR$C_OPR_IOR    56
  155. #define    TIR$C_OPR_EOR    57
  156. #define    TIR$C_OPR_NEG    58
  157. #define    TIR$C_OPR_COM    59
  158. #define    TIR$C_OPR_INSV    60
  159. #define    TIR$C_OPR_ASH    61
  160. #define    TIR$C_OPR_USH    62
  161. #define    TIR$C_OPR_ROT    63
  162. #define    TIR$C_OPR_SEL    64
  163. #define    TIR$C_OPR_REDEF    65
  164. #define    TIR$C_OPR_DFLIT    66
  165. #define    TIR$C_MAXOPRCOD    66
  166. #define    TIR$C_MINCTLCOD    80
  167. #define    TIR$C_CTL_SETRB    80
  168. #define    TIR$C_CTL_AUGRB    81
  169. #define    TIR$C_CTL_DFLOC    82
  170. #define    TIR$C_CTL_STLOC    83
  171. #define    TIR$C_CTL_STKDL    84
  172. #define    TIR$C_MAXCTLCOD    84
  173.  
  174. /*
  175.  *    Debugger symbol definitions:  These are done by hand, as no
  176.  *                    machine-readable version seems
  177.  *                    to be available.
  178.  */
  179. #define    DST$C_C        7        /* Language == "C"    */
  180. #define DST$C_VERSION    153
  181. #define    DST$C_SOURCE    155        /* Source file        */
  182. #define DST$C_PROLOG    162
  183. #define    DST$C_BLKBEG    176        /* Beginning of block    */
  184. #define    DST$C_BLKEND    177        /* End of block    */
  185. #define DST$C_ENTRY    181
  186. #define DST$C_PSECT    184
  187. #define    DST$C_LINE_NUM    185        /* Line Number        */
  188. #define DST$C_LBLORLIT    186
  189. #define DST$C_LABEL    187
  190. #define    DST$C_MODBEG    188        /* Beginning of module    */
  191. #define    DST$C_MODEND    189        /* End of module    */
  192. #define    DST$C_RTNBEG    190        /* Beginning of routine    */
  193. #define    DST$C_RTNEND    191        /* End of routine    */
  194. #define    DST$C_DELTA_PC_W    1        /* Incr PC    */
  195. #define    DST$C_INCR_LINUM    2        /* Incr Line #    */
  196. #define    DST$C_INCR_LINUM_W    3        /* Incr Line #    */
  197. #define DST$C_SET_LINUM_INCR    4
  198. #define DST$C_SET_LINUM_INCR_W    5
  199. #define DST$C_RESET_LINUM_INCR    6
  200. #define DST$C_BEG_STMT_MODE    7
  201. #define DST$C_END_STMT_MODE    8
  202. #define    DST$C_SET_LINE_NUM    9        /* Set Line #    */
  203. #define DST$C_SET_PC        10
  204. #define DST$C_SET_PC_W        11
  205. #define DST$C_SET_PC_L        12
  206. #define DST$C_SET_STMTNUM    13
  207. #define DST$C_TERM        14        /* End of lines    */
  208. #define DST$C_TERM_W        15        /* End of lines    */
  209. #define    DST$C_SET_ABS_PC    16        /* Set PC    */
  210. #define    DST$C_DELTA_PC_L    17        /* Incr PC    */
  211. #define DST$C_INCR_LINUM_L    18        /* Incr Line #    */
  212. #define DST$C_SET_LINUM_B    19        /* Set Line #    */
  213. #define DST$C_SET_LINUM_L    20        /* Set Line #    */
  214. #define    DST$C_TERM_L        21        /* End of lines    */
  215. /* these are used with DST$C_SOURCE */
  216. #define    DST$C_SRC_FORMFEED    16        /* ^L counts    */
  217. #define    DST$C_SRC_DECLFILE    1        /* Declare file    */
  218. #define    DST$C_SRC_SETFILE    2        /* Set file    */
  219. #define    DST$C_SRC_SETREC_L    3        /* Set record    */
  220. #define    DST$C_SRC_DEFLINES_W    10        /* # of line    */
  221. /* the following are the codes for the various data types.  Anything not on
  222.  * the list is included under 'advanced_type'
  223.  */
  224. #define DBG$C_UCHAR        0x02
  225. #define DBG$C_USINT        0x03
  226. #define DBG$C_ULINT        0x04
  227. #define DBG$C_SCHAR        0x06
  228. #define DBG$C_SSINT        0x07
  229. #define DBG$C_SLINT        0x08
  230. #define DBG$C_REAL4        0x0a
  231. #define DBG$C_REAL8        0x0b
  232. #define DBG$C_FUNCTION_ADDR    0x17
  233. #define DBG$C_ADVANCED_TYPE    0xa3
  234. /*  These are the codes that are used to generate the definitions of struct
  235.  *  union and enum records
  236.  */
  237. #define DBG$C_ENUM_ITEM            0xa4
  238. #define DBG$C_ENUM_START        0xa5
  239. #define DBG$C_ENUM_END            0xa6
  240. #define DBG$C_STRUCT_START        0xab
  241. #define DBG$C_STRUCT_ITEM        0xff
  242. #define DBG$C_STRUCT_END        0xac
  243. /*  These are the codes that are used in the suffix records to determine the
  244.  *  actual data type
  245.  */
  246. #define DBG$C_BASIC            0x01
  247. #define DBG$C_BASIC_ARRAY        0x02
  248. #define DBG$C_STRUCT            0x03
  249. #define DBG$C_POINTER            0x04
  250. #define DBG$C_VOID            0x05
  251. #define DBG$C_COMPLEX_ARRAY        0x07
  252. /* These codes are used in the generation of the symbol definition records
  253.  */
  254. #define DBG$C_FUNCTION_PARAMETER    0xc9
  255. #define DBG$C_LOCAL_SYM            0xd9
  256.