[ros-diffs] [ion] 17905: Fix user-mode stack trace regression caused by my exception patch. Traces are now shown again

ion at svn.reactos.com ion at svn.reactos.com
Sun Sep 18 05:26:56 CEST 2005


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 */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050918/d326301a/attachment.html


More information about the Ros-diffs mailing list