Ignore:
Timestamp:
Feb 24, 2008, 6:59:33 PM (17 years ago)
Author:
dai_9181
Message:

デバッガ変数リストのローカル変数のスコープ判定が間違っていたため、修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/VarList.cpp

    r280 r393  
    372372
    373373        //スコープ外の場合は無視
    374         if(pVar->GetScopeLevel()!=0){
    375             if(rva_to_real(pVar->GetScopeStartAddress()) <= pobj_dti->lplpObp[i2]  &&
    376                 pobj_dti->lplpObp[i2] < rva_to_real(pVar->GetScopeEndAddress())){
     374        int scopeBeginAddressRva = pUserProc->GetBeginOpAddress() + pVar->GetScopeStartAddress();
     375        int scopeEndAddressRva = pUserProc->GetBeginOpAddress() + pVar->GetScopeEndAddress();
     376        if(pVar->GetScopeLevel()!=0)
     377        {
     378            if( rva_to_real( scopeBeginAddressRva ) <= pobj_dti->lplpObp[i2]
     379                && pobj_dti->lplpObp[i2] < rva_to_real( scopeEndAddressRva ) )
     380            {
    377381                //範囲内
    378382            }
Note: See TracChangeset for help on using the changeset viewer.