Ignore:
Timestamp:
Sep 6, 2008, 11:53:33 PM (16 years ago)
Author:
dai
Message:

ppobj_dsを、debugSectionsに書き直した。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/Debug.cpp

    r648 r740  
    338338}
    339339
    340 void Set_DebugSys_dwThreadID(){
    341     int i;
    342     for(i=0;i<pobj_DBDebugSection->num;i++){
     340void Set_DebugSys_dwThreadID()
     341{
     342    BOOST_FOREACH( CDebugSection *pDebugSection, pobj_DBDebugSection->debugSections )
     343    {
    343344        ULONG_PTR lpAccBytes;
    344345        WriteProcessMemory(hDebugProcess,
    345             (void *)(ULONG_PTR)(pobj_DBDebugSection->ppobj_ds[i]->dwImageBase + pobj_DBDebugSection->ppobj_ds[i]->dwRVA_RWSection),
     346            (void *)(ULONG_PTR)(pDebugSection->dwImageBase + pDebugSection->dwRVA_RWSection),
    346347            _DebugSys_dwThreadID,
    347348            sizeof(DWORD)*MAX_DEBUG_THREAD,
Note: See TracChangeset for help on using the changeset viewer.