Look at new location first AND old location in case user like it.
There is another separate fix from Kai to handle addr2line pipe without leak.
It should still use pi_fullpath -- the scheme is that debug data is stored in the same path under /usr/lib/debug/. So for example /boot/test-kernel/ will have debug data in /usr/lib/debug/boot/test-kernel/
remove this before checkin :)
Fix emaste@ comments
Looks good to me with minor style(9) nits
style(9) on the comment:
/* Try default debug file location. */
I believe this is now committed?
commited as r289023
Good catch. :)