From 5b75a3dfd75e533f59212807443825fca89f199f Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Mon, 8 Sep 2008 18:21:19 +0000 Subject: [PATCH] fix saving/restoring of registers in DebugService svn path=/trunk/; revision=36067 --- reactos/lib/rtl/i386/debug_asm.S | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/reactos/lib/rtl/i386/debug_asm.S b/reactos/lib/rtl/i386/debug_asm.S index 8ec4d862c97..7d9de6af9bf 100644 --- a/reactos/lib/rtl/i386/debug_asm.S +++ b/reactos/lib/rtl/i386/debug_asm.S @@ -72,8 +72,7 @@ _DebugService@20: push ecx push ebx push edi - push edi - push ebx + push edx /* Call the Interrupt */ mov eax, [ebp+8] @@ -85,10 +84,10 @@ _DebugService@20: int 3 /* Restore registers */ - pop ebx - pop edi + pop edx pop edi pop ebx + pop ecx /* Return */ leave