media-libs/mesa (tested on 8.0.4-r1) installs symbolic links in ${libdir}/dri/ (etc), ostensibly "for dynamic switching". If FEATURES=splitdebug is set, similar symbolic links are not installed in ${libdir}/debug/${libdir}/dri/ (etc), leading gdb to be unable to locate the debug files. Manually installing symbolic links in the appropriate locations remedies the issue.
I think there was a bug already filed about this, but I can't find it right now.
All I can find is #330769, which is not the same bug. Should I get on a patch that just tests FEATURES for splitdebug, or is there a better way to go about this?
Whoops, wrong field.
I wouldn't really call this an "enhancement", since without the workaround, it prevents debugging of mesa. ln -s mesa /usr/lib/debug/usr/lib32/dri ln -s mesa /usr/lib/debug/usr/lib64/dri
I don't know if this is an issue anymore. If anyone else can repro, please reopen.