Changeset 281 in dev for trunk/abdev/BasicCompiler32/MakePeHdr.cpp
- Timestamp:
- Aug 14, 2007, 8:58:57 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/MakePeHdr.cpp
r280 r281 106 106 void DebugVariable(void){ 107 107 char temporary[255]; 108 sprintf(temporary,"_DebugSys_dwThreadID[255]%c%cDWord",1,ESC_AS); 109 OpcodeDim(temporary,DIMFLAG_INITDEBUGVAR); 110 sprintf(temporary,"_DebugSys_ProcNum[255]%c%cDWord",1,ESC_AS); 111 OpcodeDim(temporary,DIMFLAG_INITDEBUGVAR); 112 sprintf(temporary,"_DebugSys_lplpObp[255]%c%c*ULONG_PTR",1,ESC_AS); 113 OpcodeDim(temporary,DIMFLAG_INITDEBUGVAR); 114 sprintf(temporary,"_DebugSys_lplpSpBase[255]%c%c*ULONG_PTR",1,ESC_AS); 115 OpcodeDim(temporary,DIMFLAG_INITDEBUGVAR); 108 if( compiler.GetObjectModule().meta.GetGlobalVars().Find( Symbol( "_DebugSys_dwThreadID" ) ) == NULL ) 109 { 110 // 未定義の場合は定義する 111 sprintf(temporary,"_DebugSys_dwThreadID[255]%c%cDWord",1,ESC_AS); 112 OpcodeDim(temporary,DIMFLAG_INITDEBUGVAR); 113 sprintf(temporary,"_DebugSys_ProcNum[255]%c%cDWord",1,ESC_AS); 114 OpcodeDim(temporary,DIMFLAG_INITDEBUGVAR); 115 sprintf(temporary,"_DebugSys_lplpObp[255]%c%c*ULONG_PTR",1,ESC_AS); 116 OpcodeDim(temporary,DIMFLAG_INITDEBUGVAR); 117 sprintf(temporary,"_DebugSys_lplpSpBase[255]%c%c*ULONG_PTR",1,ESC_AS); 118 OpcodeDim(temporary,DIMFLAG_INITDEBUGVAR); 119 } 116 120 } 117 121
Note:
See TracChangeset
for help on using the changeset viewer.