On 22 December 2012 23:13, Alfred Perlstein <bri...@mu.org> wrote:
> I have a patch for this.  I am building world to see what happens, if you
> want to try it, or comment on it, please let me know.
>
> Changes are:
>       base DEBUGDIR on LIBDIR for ports
>       create intermediate directories for debug objs.

Note that just moving ports debug data to /usr/local/lib/debug/...
won't work since GDB won't search there.  We could teach it to search
a list of paths and include /usr/local/lib/debug and /usr/lib/debug,
or perhaps a symlink under /usr/local/lib.

We could also use a .debug subdirectory for ports and other users of
bsd.lib.mk - so for example /usr/local/lib/libfoo.so would have debug
info in /usr/local/lib/.debug/libfoo.so.debug.
_______________________________________________
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"

Reply via email to