Description of problem: The current -sysroot implementation finds debuginfo and source. For example: fhpd -sysroot /tmp/which-dir/ which will find the executable, debuginfo and source: /tmp/which-dir/usr/bin/which /tmp/which-dir/usr/lib/debug/usr/bin/which.debug /tmp/which-dir/usr/src/debug/which-2.16/which.c However it will not find some executables, for instance those used by corefiles.