Changeset 5852 in vbox
- Timestamp:
- Nov 27, 2007 6:22:12 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 26330
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/recompiler/VBoxRecompiler.c
r5369 r5852 3283 3283 char szOutput[256]; 3284 3284 uint32_t cbOp; 3285 if ( !DISInstr(&Cpu, (uintptr_t)pvPC, off, &cbOp, &szOutput[0]))3285 if (RT_FAILURE(DISInstr(&Cpu, (uintptr_t)pvPC, off, &cbOp, &szOutput[0]))) 3286 3286 return false; 3287 3287 if (pszPrefix) … … 3372 3372 char szOutput[256]; 3373 3373 uint32_t cbOp; 3374 if ( !DISInstr(&Cpu, (uintptr_t)pvPC, off, &cbOp, &szOutput[0]))3374 if (RT_FAILURE(DISInstr(&Cpu, (uintptr_t)pvPC, off, &cbOp, &szOutput[0]))) 3375 3375 return false; 3376 3376 … … 3451 3451 { 3452 3452 uint32_t cbInstr; 3453 if ( DISInstr(&Cpu, (uintptr_t)pvCode + off, 0, &cbInstr, szOutput))3453 if (RT_SUCCESS(DISInstr(&Cpu, (uintptr_t)pvCode + off, 0, &cbInstr, szOutput))) 3454 3454 RTLogPrintf("%s", szOutput); 3455 3455 else
Note:
See TracChangeset
for help on using the changeset viewer.