#8135: Support debug info in separate file -------------------------------------+---------------------------- Reporter: bonefish | Owner: anevilyak Type: enhancement | Status: in-progress Priority: low | Milestone: R1 Component: Applications/Debugger | Version: R1/Development Resolution: | Keywords: Blocked By: | Blocking: Has a Patch: 1 | Platform: All -------------------------------------+---------------------------- Comment (by bonefish): Yeah, might be a binutils bug or a Haiku bug. To narrow it down you could try FreeBSD's or Linux's `objcopy`. If that works, Haiku's `objcopy` for cross-compilation on FreeBSD/Linux could be tried. That aside, doesn't the `.eh_frame` section remain in the stripped object? Or is it reduced to what is actually needed for exception handling? If remains unchanged, it could still be used. I skimmed the patch. There are several cast operator instances using the wrong pointer style and the `find_directory()` thing could be done in a loop. Moreover, handling the self-contained app case last, you might actually find the debug info file for a globally installed library before even trying the "debug" subdirectory of the app directory. At the latest with package management, applications (including self-contained ones) can be installed in the installation locations (e.g. under `/boot/common/apps`). I would first try the relative paths, then try the "develop/debug" in the respective installation location. -- Ticket URL: <http://dev.haiku-os.org/ticket/8135#comment:12> Haiku <http://dev.haiku-os.org> Haiku - the operating system.