Changeset 259 in dev for trunk/abdev/BasicCompiler_Common/Debug.cpp
- Timestamp:
- Aug 3, 2007, 3:24:22 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/Debug.cpp
r256 r259 235 235 UserProc *pUserProc = compiler.objectModule.meta.GetUserProcs().Iterator_GetNext(); 236 236 237 if(rva_to_real(pUserProc-> GetBeginOpAddress()) <= pos &&238 pos < rva_to_real(pUserProc-> GetEndOpAddress()))237 if(rva_to_real(pUserProc->_beginOpAddressOld) <= pos && 238 pos < rva_to_real(pUserProc->_endOpAddressOld)) 239 239 { 240 240 return pUserProc; … … 694 694 extern const UserProc *pSub_DebugSys_EndProc; 695 695 if((BYTE)temporary[0]==0xE8&& 696 *((long *)(temporary+1))+5==(long)rva_to_real(pSub_DebugSys_EndProc-> GetBeginOpAddress())-(long)EIP_RIP(Context)){696 *((long *)(temporary+1))+5==(long)rva_to_real(pSub_DebugSys_EndProc->_beginOpAddressOld)-(long)EIP_RIP(Context)){ 697 697 //プロシージャの終端位置の場合はステップインを行う 698 698 goto StepIn; … … 715 715 //シングルステップON 716 716 WriteProcessMemory(hDebugProcess, 717 (void *)rva_to_real(pUserProc-> GetBeginOpAddress()),718 pobj_DBDebugSection->pobj_now->SingleStepCodeBuffer+pUserProc-> GetBeginOpAddress(),719 pUserProc-> GetEndOpAddress()-pUserProc->GetBeginOpAddress(),717 (void *)rva_to_real(pUserProc->_beginOpAddressOld), 718 pobj_DBDebugSection->pobj_now->SingleStepCodeBuffer+pUserProc->_beginOpAddressOld, 719 pUserProc->_endOpAddressOld-pUserProc->_beginOpAddressOld, 720 720 &lpAccBytes); 721 721 }
Note:
See TracChangeset
for help on using the changeset viewer.