On 22 December 2012 11:46, Ed Maste <ema...@freebsd.org> wrote: > When this knob is set standalone debug files for shared objects are > built and installed in /usr/lib/debug/<so pathname>.debug. GDB > searches this path for debug data.
I'm picking this up again - here is a new version of the patch, which should address the base/ports issue and other problems. Here's what it does: - Add WITH_DEBUG_FILES src.conf knob to control standalone debug file generation, instead of using standalone files whenever DEBUG_FLAGS is set. - Switch debug file extension from .symbols to .debug, for consistency with other users of this feature. - Store debug files under /usr/lib/debug for base system components, and in a .debug subdirectory for other share/mk consumers. - Switch gdb to use the default standalone debug directory of /usr/lib/debug. Also available at http://people.freebsd.org/~emaste/patches/shlib-debug-symbols.diff. Changes to bsd.prog.mk will come after.
shlib-debug-symbols.diff
Description: Binary data
_______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"