Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sparc64 fine with ral cards



Hi,

> just for the records your replaced -O2 with -g?
> Or could gdb already not pinpoint the address with -O2 -g?

gdb couldn't pinpoint the address when I added "-g" (so using "-O2 -g") - it
mainly said "value optimized out" for variables and also couldn't find the
enclosing function.  So, I removed "-O2 -Wunitialized" and compiled with only
"-g".  Then, the problem was gone, so I need to chase it down (probably by
adding printf()'s ;-), unless someone beats me to it.  The place where it
dies is:

  #0  0x00000000001152e0 in l2_packet_init ()
  dist/wpa/src/l2_packet/l2_packet_freebsd.c:187

This line is actually in eth_get(): 

186:            if (sdl->sdl_family != AF_LINK || sdl->sdl_nlen == 0 ||
187:                os_memcmp(sdl->sdl_data, device, sdl->sdl_nlen) != 0)

Thanks,

J

-- 
  My other computer also runs NetBSD    /        Sailing at Newbiggin
        http://www.netbsd.org/        /   http://www.newbigginsailingclub.org/


Home | Main Index | Thread Index | Old Index