mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-23 06:18:54 +00:00
Removed old EBP from frame view.
This commit is contained in:
parent
061515aaa3
commit
299170dd73
3 changed files with 5 additions and 3 deletions
|
|
@ -316,7 +316,7 @@ namespace Cosmos.Compiler.DebugStub {
|
|||
Call<DebugStub.WriteAXToComPort>();
|
||||
|
||||
ESI = Memory["DebugEBP", 32];
|
||||
ESI.Add(4); // Dont transmit [EBP], its the saved EIP and not needed
|
||||
ESI.Add(8); // Dont transmit EIP or old EBP
|
||||
for (int i = 1; i <= xCount; i++) {
|
||||
Call("WriteByteToComPort");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ namespace BreakpointsKernel {
|
|||
// If you comment out the x2 and y2 you will see 32 instead.
|
||||
// How to reproduce this outside of this changeset? Cant seem to repro it here.
|
||||
|
||||
protected UInt32? aSize;
|
||||
protected UInt32? mSize;
|
||||
public virtual UInt32? Size {
|
||||
get { return mSize; }
|
||||
|
|
|
|||
|
|
@ -40,8 +40,9 @@ namespace Cosmos.Cosmos_VS_Windows {
|
|||
var xSB = new StringBuilder();
|
||||
xSB.AppendLine("Arguments");
|
||||
for (int i = 0; i < xCount; i++) {
|
||||
// We start at EBP + 4, because [EBP] is not transmitted
|
||||
// ([EBP] is saved EIP, not needed)
|
||||
// We start at EBP + 8, because lower is not transmitted
|
||||
// [EBP] is saved EIP - not needed
|
||||
// [EBP + 4] is old EBP - not needed
|
||||
xSB.AppendLine("[EBP + " + (i * 4 + 4) + "] 0x" + xValues[i]);
|
||||
}
|
||||
tboxSourceFrame.Text = xSB.ToString();
|
||||
|
|
|
|||
Loading…
Reference in a new issue