Fix user-mode stack trace regression caused by my exception patch. Traces are now shown again

svn path=/trunk/; revision=17905
This commit is contained in:
Alex Ionescu 2005-09-18 03:26:52 +00:00
parent 670b82330c
commit 3682544d27

View file

@ -95,7 +95,7 @@ CaptureRest:
mov [ebx+CONTEXT_SEGFS], fs
mov [ebx+CONTEXT_SEGGS], gs
mov [ebx+CONTEXT_SEGSS], ss
/* Capture flags */
pushfd
pop [ebx+CONTEXT_EFLAGS]
@ -105,7 +105,7 @@ CaptureRest:
mov [ebx+CONTEXT_EIP], eax
/* Get EBP */
mov eax, [esp]
mov eax, [ebp+0]
mov [ebx+CONTEXT_EBP], eax
/* And get ESP */