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:
@@ -194,8 +194,8 @@
|
||||
.align 8; \
|
||||
FUNCTION(name): \
|
||||
pushl $vector; \
|
||||
pushl $-1; \
|
||||
pushl $-1; \
|
||||
pushl %edx; \
|
||||
pushl %eax; \
|
||||
jmp int_bottom; \
|
||||
FUNCTION_END(name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user