%ebp was not saved which resulted in a crash on longjmp().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9196 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a4611f9d2b
commit
3db167c4d2
@ -25,6 +25,7 @@ FUNCTION(sigsetjmp):
|
||||
mov %ebx, JMP_REGS_EBX(%eax)
|
||||
mov %esi, JMP_REGS_ESI(%eax)
|
||||
mov %edi, JMP_REGS_EDI(%eax)
|
||||
mov %ebp, JMP_REGS_EBP(%eax)
|
||||
|
||||
// save stack and return address (because that's where we intend to jump to)
|
||||
lea 4(%esp,1), %ecx
|
||||
|
Loading…
Reference in New Issue
Block a user