From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 628 invoked by alias); 16 Jun 2008 13:14:22 -0000 Received: (qmail 620 invoked by uid 22791); 16 Jun 2008 13:14:21 -0000 X-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 16 Jun 2008 13:13:51 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m5GDDnjU002424; Mon, 16 Jun 2008 09:13:49 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m5GDDnVS025582; Mon, 16 Jun 2008 09:13:49 -0400 Received: from [172.16.57.153] (multics.rdu.redhat.com [172.16.57.153]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m5GDDn39005299; Mon, 16 Jun 2008 09:13:49 -0400 Subject: Re: Specifying a debuginfo path independently of sysroot From: Stan Cox To: Ray Ruvinskiy Cc: frysk@sourceware.org In-Reply-To: References: <962B19CF-9923-42EC-9732-BFE1AB7E07DB@sybase.com> <4852804D.30601@redhat.com> <485298A6.3070203@redhat.com> Content-Type: text/plain Date: Mon, 16 Jun 2008 13:20:00 -0000 Message-Id: <1213622028.18458.135.camel@multics.rdu.redhat.com> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-4.fc8) Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2008-q2/txt/msg00107.txt.bz2 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