Changeset 75 in dev for BasicCompiler32/WatchList.cpp
- Timestamp:
- Mar 20, 2007, 4:36:16 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/WatchList.cpp
r73 r75 308 308 ULONG_PTR Debugging_GetThisPtrOffset(LONG_PTR obp_Rip){ 309 309 int i; 310 SubInfo *psi;310 UserProc *pUserProc; 311 311 312 312 //ripからプロシージャを取得 313 p si=GetSubFromObp(obp_Rip);314 315 for(i=0;i<p si->VarNum;i++){316 if(lstrcmp(p si->pVar[i].name,"_System_LocalThis")==0) break;317 } 318 if(i==p si->VarNum) return 0;319 320 return p si->pVar[i].offset;313 pUserProc=GetSubFromObp(obp_Rip); 314 315 for(i=0;i<pUserProc->VarNum;i++){ 316 if(lstrcmp(pUserProc->pVar[i].name,"_System_LocalThis")==0) break; 317 } 318 if(i==pUserProc->VarNum) return 0; 319 320 return pUserProc->pVar[i].offset; 321 321 } 322 322 int Debugging_GetVarOffset(char *variable,int *pType,RELATIVE_VAR *pRelativeVar,LONG_PTR *plpIndex,int *pss){
Note:
See TracChangeset
for help on using the changeset viewer.