Port-amiga archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD 2.1
On Thu, 5 Jan 2006, Lars Hecking wrote:
>
> > OK, looking at the 2.1 INSTALL kernel, it looks like the address
> > 0003B3E8 is in in6_domifattach(), but is not on an instruction boundary.
> >
> > Could you get some more information from DDB with:
> >
> > db> x/i in6_domifattach,10
>
> Sorry, didn't remember the ,10 part.
>
> db> x/i in6_domifattach
> netbsd: in6_domifattach: orib #-0x19,d0
This doesn't look very good. From the 2.1 install kernel off of
ftp.netbsd.org:
amiga$ gdb /tmp/netbsd-INSTALL
...
(gdb) x/i 0x3b3e8
0x3b3e8 <in6_domifattach+14>: bchg %d6,%d0
(gdb) x/8i in6_domifattach
0x3b3da <in6_domifattach>: linkw %fp,#0
0x3b3de <in6_domifattach+4>: moveml %a2-%a4,%sp@-
0x3b3e2 <in6_domifattach+8>: clrl %sp@-
0x3b3e4 <in6_domifattach+10>: pea 0x200d40 <M_IFADDR>
0x3b3ea <in6_domifattach+16>: pea 0xc <kernel_text+12>
0x3b3ee <in6_domifattach+20>: lea 0xd1970 <malloc>,%a3
0x3b3f4 <in6_domifattach+26>: jsr %a3@
0x3b3f6 <in6_domifattach+28>: moveal %a0,%a2
(gdb) quit
The instruction from your output looks like it could be off by 2 bytes:
(gdb) x/i in6_domifattach
0x3b3da <in6_domifattach>: linkw %fp,#0
(gdb) x/i in6_domifattach+2
0x3b3dc <in6_domifattach+2>: orib #-25,%d0
Michael
Home |
Main Index |
Thread Index |
Old Index