Fixed printing of ESP/EIP in regs window of win32 enh debugger

This commit is contained in:
Stanislav Shwartsman 2008-11-08 20:09:37 +00:00
parent 475aa234e8
commit 67b98b4787

View File

@ -843,7 +843,7 @@ void FillRegs()
rV[RSP_Rnum] = rV[ESP_Rnum];
#else
// copy the lower dwords of RAX - RBP to EAX - EBP (with 32bit truncation)
i = RBP_Rnum + 1;
i = RIP_Rnum + 1;
while (--i >= 0)
rV[i + (EAX_Rnum - RAX_Rnum)] = GET32L(rV[i]);
#endif