add gdb support when --with-debug
freebsd set ifconfig ok .