Changeset 55702 in vbox for trunk/src/VBox/Main
- Timestamp:
- May 7, 2015 12:19:10 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/MachineDebuggerImpl.cpp
r51092 r55702 1195 1195 try 1196 1196 { 1197 1197 aValues.resize(cRegs); 1198 aNames.resize(cRegs); 1198 1199 for (uint32_t iReg = 0; iReg < cRegs; iReg++) 1199 1200 { 1200 Bstr bstrValue; 1201 1202 hrc = formatRegisterValue(&bstrValue, &paRegs[iReg].Val, paRegs[iReg].enmType); 1203 AssertComRC(hrc); 1201 char szHex[160]; 1202 szHex[159] = szHex[0] = '\0'; 1203 ssize_t cch = DBGFR3RegFormatValue(szHex, sizeof(szHex), &paRegs[iReg].Val, 1204 paRegs[iReg].enmType, true /*fSpecial*/); 1205 Assert(cch > 0); 1204 1206 aNames[iReg] = Utf8Str(paRegs[iReg].pszName); 1205 aValues[iReg] = Utf8Str( bstrValue);1207 aValues[iReg] = Utf8Str(szHex); 1206 1208 } 1207 1209 }
Note:
See TracChangeset
for help on using the changeset viewer.