Ned Ludd wrote: > Good afternoon, > > Would you be willing to give up space in $ROOT/usr/lib/debug for ELF > executables by default in order to aid in better debugging by or do we > want to only emit it when a FEATURE= is defined. > > Having a split debug pretty much obsoletes the need to add nostrip to > your features in order to get debug info. > > Users wishing to not have debug info can simply add > INSTALL_MASK="/usr/lib/debug ${INSTALL_MASK}" to make.conf or the > environment unless we make it FEATURE based. > > I'm in favor of it enabled per default but I'd like to know what you > think and why. (advantages of on/off by default etc..) > How useful is this debug information with -fomit-frame-pointer? From what I have read it makes debugging at least harder. I think most people have -fomit-frame-pointer in their CFLAGS so it should not be enabled by default if the debug info is not very useful any way. Regards, Petteri