Fix user-mode stack trace regression caused by my exception patch.
Traces are now shown again
Modified: trunk/reactos/lib/rtl/i386/except.s
_____
Modified: trunk/reactos/lib/rtl/i386/except.s
--- trunk/reactos/lib/rtl/i386/except.s 2005-09-17 22:33:53 UTC (rev
17904)
+++ trunk/reactos/lib/rtl/i386/except.s 2005-09-18 03:26:52 UTC (rev
17905)
@@ -95,7 +95,7 @@
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 @@
mov [ebx+CONTEXT_EIP], eax
/* Get EBP */
- mov eax, [esp]
+ mov eax, [ebp+0]
mov [ebx+CONTEXT_EBP], eax
/* And get ESP */