Ah, thanks for pointing that out but there is still an issue with the test case in comment #12 as the .gnu_debugaltlink file is still not loaded.
Reading symbols from /bin/cat...
Reading symbols from /tmp/dbgsym/usr/lib/debug/.build-id/fb/a7cee6aca864b8f79dfaa8a267855333b445c1.debug...
could not find '.gnu_debugaltlink' file for /tmp/dbgsym/usr/lib/debug/.build-id/fb/a7cee6aca864b8f79dfaa8a267855333b445c1.debug
(No debugging symbols found in /tmp/dbgsym/usr/lib/debug/.build-id/fb/a7cee6aca864b8f79dfaa8a267855333b445c1.debug)
[New LWP 302900]
Core was generated by `/bin/cat'.
Program terminated with signal SIGTSTP, Stopped (user).
Ah, thanks for pointing that out but there is still an issue with the test case in comment #12 as the .gnu_debugaltlink file is still not loaded.
Reading symbols from /bin/cat... usr/lib/ debug/. build-id/ fb/a7cee6aca864 b8f79dfaa8a2678 55333b445c1. debug.. . usr/lib/ debug/. build-id/ fb/a7cee6aca864 b8f79dfaa8a2678 55333b445c1. debug usr/lib/ debug/. build-id/ fb/a7cee6aca864 b8f79dfaa8a2678 55333b445c1. debug)
Reading symbols from /tmp/dbgsym/
could not find '.gnu_debugaltlink' file for /tmp/dbgsym/
(No debugging symbols found in /tmp/dbgsym/
[New LWP 302900]
Core was generated by `/bin/cat'.
Program terminated with signal SIGTSTP, Stopped (user).