Date: Sat, 22 Dec 2012 19:14:42 -0700 From: Jan Beich <jbeich@tormail.org> To: Ed Maste <emaste@freebsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files Message-ID: <1Tmb5f-000Jy5-CT@internal.tormail.org> In-Reply-To: <20121222164602.GB32022@sandvine.com> (Ed Maste's message of "Sat, 22 Dec 2012 16:46:02 %2B0000") References: <20121222164602.GB32022@sandvine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ed Maste <emaste@freebsd.org> writes: > 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. [...] > - Change GDB's standalone debug file path to the default /usr/lib/debug. [...] > diff --git a/etc/mtree/BSD.usr.dist b/etc/mtree/BSD.usr.dist > index 336d055..7b428d5 100644 > --- a/etc/mtree/BSD.usr.dist > +++ b/etc/mtree/BSD.usr.dist > @@ -18,6 +18,22 @@ > aout > .. > .. > + debug > + boot > + .. > + lib > + geom > + .. > + .. > + usr > + lib > + engines > + .. > + .. > + lib32 > + .. > + .. > + .. > dtrace > .. > engines What about ports? They are not allowed to install outside of PREFIX. $ cd multimedia/cuse4bsd-kmod $ make install PREFIX=/tmp/aaa PKG_DBDIR=/tmp/pkg WITH_DEBUG= [...] install -C -o root -g wheel -m 444 libcuse4bsd.a /tmp/aaa/lib install -s -o root -g wheel -m 444 libcuse4bsd.so.1 /tmp/aaa/lib install -o root -g wheel -m 444 libcuse4bsd.so.1.debug /usr/lib/debug/tmp/aaa/lib install: /usr/lib/debug/tmp/aaa/lib: No such file or directory *** [_libinstall] Error code 71
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1Tmb5f-000Jy5-CT>