With syscall kernel tracing enabled, the syscall return value (%eax,
%edx) was trashed before passing it to the user debugger. strace shows the correct return values again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24364 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7cee6a817b
commit
74d93b3526
@ -400,7 +400,9 @@ handle_syscall:
|
||||
jz 1f
|
||||
pushl -4(%ebp) // syscall start time
|
||||
pushl -8(%ebp)
|
||||
push %edx // syscall return value
|
||||
movl IFRAME_edx(%ebp), %edx // syscall return value
|
||||
movl IFRAME_eax(%ebp), %eax
|
||||
push %edx
|
||||
push %eax
|
||||
lea 16(%esp), %eax // syscall parameters
|
||||
push %eax
|
||||
|
Loading…
Reference in New Issue
Block a user