NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/47271: host (1) dumps core on latest netbsd-6
Disassembly of my _lwp_makecontext
(gdb) disas _lwp_makecontext
Dump of assembler code for function _lwp_makecontext:
0xbb6c43d0 <+0>: push %ebp
0xbb6c43d1 <+1>: mov %esp,%ebp
0xbb6c43d3 <+3>: push %ebx
0xbb6c43d4 <+4>: sub $0x14,%esp
0xbb6c43d7 <+7>: call 0xbb6c43dc <_lwp_makecontext+12>
0xbb6c43dc <+12>: pop %ebx
0xbb6c43dd <+13>: add $0xb51e0,%ebx
0xbb6c43e3 <+19>: mov 0x8(%ebp),%eax
0xbb6c43e6 <+22>: mov %eax,(%esp)
0xbb6c43e9 <+25>: call 0xbb69e67c <_getcontext@plt>
0xbb6c43ee <+30>: mov 0x8(%ebp),%edx
0xbb6c43f1 <+33>: movl $0x0,0x4(%edx)
0xbb6c43f8 <+40>: mov 0x18(%ebp),%eax
0xbb6c43fb <+43>: mov %eax,0x18(%edx)
0xbb6c43fe <+46>: mov 0x1c(%ebp),%eax
0xbb6c4401 <+49>: mov %eax,0x1c(%edx)
0xbb6c4404 <+52>: mov 0xc(%ebp),%eax
0xbb6c4407 <+55>: mov %eax,0x5c(%edx)
0xbb6c440a <+58>: mov 0x18(%ebp),%eax
0xbb6c440d <+61>: add 0x1c(%ebp),%eax
0xbb6c4410 <+64>: and $0xfffffffc,%eax
0xbb6c4413 <+67>: mov 0x10(%ebp),%edx
0xbb6c4416 <+70>: mov %edx,-0x4(%eax)
0xbb6c4419 <+73>: lea -0x8(%eax),%edx
0xbb6c441c <+76>: mov -0x238(%ebx),%ecx
0xbb6c4422 <+82>: mov %ecx,-0x8(%eax)
0xbb6c4425 <+85>: mov 0x8(%ebp),%eax
0xbb6c4428 <+88>: mov %edx,0x68(%eax)
0xbb6c442b <+91>: mov 0x14(%ebp),%edx
=> 0xbb6c442e <+94>: mov %edx,0x2f4(%eax)
0xbb6c4434 <+100>: orl $0x80000,(%eax)
0xbb6c443a <+106>: add $0x14,%esp
0xbb6c443d <+109>: pop %ebx
0xbb6c443e <+110>: pop %ebp
0xbb6c443f <+111>: ret
End of assembler dump.
(gdb)
--
Hisashi T Fujinaka - htodd%twofifty.com@localhost
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte
Home |
Main Index |
Thread Index |
Old Index