x86: Also set iframe::orig_{eax,edx} in TRAP_ERRC(). This makes

get_iframe_registers() in arch_user_debugger.cpp return the correct
eax/edx values also when the kernel was entered via an exception that
doesn't push an error code (e.g. page fault).
Fixes incorrect eax and edx values shown in Debugger and variable values
based on them.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43201 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2011-11-06 12:53:20 +00:00
parent a86a5aef5d
commit 65d7b9312b
+2 -2
View File
@@ -194,8 +194,8 @@
.align 8; \
FUNCTION(name): \
pushl $vector; \
pushl $-1; \
pushl $-1; \
pushl %edx; \
pushl %eax; \
jmp int_bottom; \
FUNCTION_END(name)