Emerge with debug info
/etc/make.conf
CFLAGS="-g ..." FEATURES="nostrip splitdebug ..." USE="debug ..."
Emerge package
ebuild path/to/ebuild install ebuild path/to/ebuild qmerge
/etc/make.conf
CFLAGS="-g ..." FEATURES="nostrip splitdebug ..." USE="debug ..."
Emerge package
ebuild path/to/ebuild install ebuild path/to/ebuild qmerge