64-bit fixes.
This commit is contained in:
@@ -1139,7 +1139,7 @@ VariablesView::VariableTableModel::GetValueAt(void* object, int32 columnIndex,
|
|||||||
if (piece.type != VALUE_PIECE_LOCATION_MEMORY)
|
if (piece.type != VALUE_PIECE_LOCATION_MEMORY)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
data.SetToFormat("[@ 0x%llx]", piece.address);
|
data.SetToFormat("[@ %#" B_PRIx64 "]", piece.address);
|
||||||
_value.SetTo(data);
|
_value.SetTo(data);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -1212,13 +1212,13 @@ VariablesView::VariableTableModel::GetToolTipForTablePath(
|
|||||||
BString pieceData;
|
BString pieceData;
|
||||||
switch (piece.type) {
|
switch (piece.type) {
|
||||||
case VALUE_PIECE_LOCATION_MEMORY:
|
case VALUE_PIECE_LOCATION_MEMORY:
|
||||||
pieceData.SetToFormat("(%ld): Address: 0x%llx, Size: "
|
pieceData.SetToFormat("(%" B_PRId32 "): Address: %#" B_PRIx64
|
||||||
"%lld bytes", i, piece.address, piece.size);
|
", Size: %" B_PRId64 " bytes", i, piece.address, piece.size);
|
||||||
break;
|
break;
|
||||||
case VALUE_PIECE_LOCATION_REGISTER:
|
case VALUE_PIECE_LOCATION_REGISTER:
|
||||||
{
|
{
|
||||||
Architecture* architecture = fThread->GetTeam()->GetArchitecture();
|
Architecture* architecture = fThread->GetTeam()->GetArchitecture();
|
||||||
pieceData.SetToFormat("(%ld): Register (%s)",
|
pieceData.SetToFormat("(%" B_PRId32 "): Register (%s)",
|
||||||
i, architecture->Registers()[piece.reg].Name());
|
i, architecture->Registers()[piece.reg].Name());
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user