mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 12:30:32 +00:00
Fixed an issue with the compiler which caused Int64[] and UInt64[] elements to get retrieved incorrectly.
This commit is contained in:
parent
5e26a7e5c4
commit
b668b50b41
2 changed files with 9 additions and 3 deletions
|
|
@ -450,8 +450,14 @@ namespace Cosmos.Debug.VSDebugEngine
|
|||
|
||||
else
|
||||
{
|
||||
if (m_variableInformation.IsReference) xData = mProcess.mDbgConnector.GetMemoryData(m_variableInformation.Pointer, 4, 4);
|
||||
else xData = mProcess.mDbgConnector.GetStackData(OFFSET, 4);
|
||||
if (m_variableInformation.IsReference)
|
||||
{
|
||||
xData = mProcess.mDbgConnector.GetMemoryData(m_variableInformation.Pointer, 4, 4);
|
||||
}
|
||||
else
|
||||
{
|
||||
xData = mProcess.mDbgConnector.GetStackData(OFFSET, 4);
|
||||
}
|
||||
if (xData == null)
|
||||
{
|
||||
propertyInfo.bstrValue = String.Format("Error! Stack data received was null!");
|
||||
|
|
|
|||
|
|
@ -46,8 +46,8 @@ namespace Cosmos.IL2CPU.X86.IL
|
|||
new CPUx86.Push { DestinationReg = CPUx86.Registers.EDX, DestinationIsIndirect = true };
|
||||
break;
|
||||
case 8:
|
||||
new CPUx86.Push { DestinationReg = CPUx86.Registers.EDX, DestinationDisplacement = 4, DestinationIsIndirect = true };
|
||||
new CPUx86.Push { DestinationReg = CPUx86.Registers.EDX, DestinationIsIndirect = true };
|
||||
new CPUx86.Push { DestinationReg = CPUx86.Registers.EDX, DestinationDisplacement = 4, DestinationIsIndirect = true };
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue