This is the mail archive of the
frysk@sourceware.org
mailing list for the frysk project.
Re: Specifying a debuginfo path independently of sysroot
On Fri, 2008-06-13 at 17:13 -0400, Ray Ruvinskiy wrote:
> "/usr/lib/debug"
The reason for /usr/lib/debug is that is the standard root location for
debug information on Linux: for
example /usr/lib/debug/bin, /usr/lib/debug/usr/bin. So the theory is
that sysroot is imitating the standard linux behavior. Frysk "always"
has a sysroot, with the default sysroot location being "/". Specifying
a different sysroot just tells frysk to look for the standard Linux
debugging information in a sysroot whose root is somewhere other than
"/" For example here is the sysroot which is used to run the Frysk
sysroot tests:
frysk-core/frysk/pkglibdir/test-sysroot/usr/bin:
./ ../ funit-quicksort*
frysk-core/frysk/pkglibdir/test-sysroot/usr/lib:
./ ../ debug/ libbubble.so*
frysk-core/frysk/pkglibdir/test-sysroot/usr/lib/debug/usr/bin:
./ ../ funit-quicksort.debug*
frysk-core/frysk/pkglibdir/test-sysroot/usr/lib/debug/usr/lib:
./ ../ funit-bubblesort.debug*
frysk-core/frysk/pkglibdir/test-sysroot/usr/src/debug:
./ ../ funit-bubblesort.c funit-quicksort.c