Changeset 9292 in vbox for trunk/src/VBox
- Timestamp:
- Jun 2, 2008 12:09:25 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 31498
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/DBGFDisas.cpp
r9274 r9292 413 413 RTStrPrintf(pszOutput, cchOutput, "%04x:%04x %s", Sel, (unsigned)GCPtr, szBuf); 414 414 else if (Sel == DBGF_SEL_FLAT) 415 RTStrPrintf(pszOutput, cchOutput, "%VGv %s", GCPtr, szBuf); 415 { 416 if (enmMode >= PGMMODE_AMD64) 417 RTStrPrintf(pszOutput, cchOutput, "%VGv %s", GCPtr, szBuf); 418 else 419 RTStrPrintf(pszOutput, cchOutput, "%VRv %s", (RTRCPTR)GCPtr, szBuf); 420 } 416 421 else 417 RTStrPrintf(pszOutput, cchOutput, "%04x:%VGv %s", Sel, GCPtr, szBuf); 422 { 423 if (enmMode >= PGMMODE_AMD64) 424 RTStrPrintf(pszOutput, cchOutput, "%04x:%VGv %s", Sel, GCPtr, szBuf); 425 else 426 RTStrPrintf(pszOutput, cchOutput, "%04x:%VRv %s", Sel, (RTRCPTR)GCPtr, szBuf); 427 } 418 428 } 419 429 else … … 433 443 szBuf); 434 444 else if (Sel == DBGF_SEL_FLAT) 435 RTStrPrintf(pszOutput, cchOutput, "%VGv %.*Vhxs%*s %s", 436 GCPtr, 437 cbBits, pau8Bits, cbBits < 8 ? (8 - cbBits) * 3 : 0, "", 438 szBuf); 445 { 446 if (enmMode >= PGMMODE_AMD64) 447 RTStrPrintf(pszOutput, cchOutput, "%VGv %.*Vhxs%*s %s", 448 GCPtr, 449 cbBits, pau8Bits, cbBits < 8 ? (8 - cbBits) * 3 : 0, "", 450 szBuf); 451 else 452 RTStrPrintf(pszOutput, cchOutput, "%VRv %.*Vhxs%*s %s", 453 (RTRCPTR)GCPtr, 454 cbBits, pau8Bits, cbBits < 8 ? (8 - cbBits) * 3 : 0, "", 455 szBuf); 456 } 439 457 else 440 RTStrPrintf(pszOutput, cchOutput, "%04x:%VGv %.*Vhxs%*s %s", 441 Sel, GCPtr, 442 cbBits, pau8Bits, cbBits < 8 ? (8 - cbBits) * 3 : 0, "", 443 szBuf); 444 458 { 459 if (enmMode >= PGMMODE_AMD64) 460 RTStrPrintf(pszOutput, cchOutput, "%04x:%VGv %.*Vhxs%*s %s", 461 Sel, GCPtr, 462 cbBits, pau8Bits, cbBits < 8 ? (8 - cbBits) * 3 : 0, "", 463 szBuf); 464 else 465 RTStrPrintf(pszOutput, cchOutput, "%04x:%VRv %.*Vhxs%*s %s", 466 Sel, (RTRCPTR)GCPtr, 467 cbBits, pau8Bits, cbBits < 8 ? (8 - cbBits) * 3 : 0, "", 468 szBuf); 469 } 445 470 } 446 471
Note:
See TracChangeset
for help on using the changeset viewer.