From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 753 invoked by alias); 13 Jun 2008 15:07:07 -0000 Received: (qmail 723 invoked by uid 22791); 13 Jun 2008 15:07:06 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from inergen.sybase.com (HELO inergen.sybase.com) (192.138.151.43) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 13 Jun 2008 15:06:47 +0000 Received: from smtp2.sybase.com (sybgate2 [10.22.97.85]) by inergen.sybase.com with ESMTP id m5DF6TE29916; Fri, 13 Jun 2008 08:06:29 -0700 (PDT) Received: from gwwest.sybase.com (localhost [127.0.0.1]) by smtp2.sybase.com with ESMTP id m5DF6Se12534; Fri, 13 Jun 2008 08:06:28 -0700 (PDT) Received: from rruvinsk-osx.sybase.com ([10.25.107.13]) by waterloomail1.sybase.com (Lotus Domino Release 6.5.4) with ESMTP id 2008061311062418-6537 ; Fri, 13 Jun 2008 11:06:24 -0400 Cc: frysk@sourceware.org Message-Id: From: Ray Ruvinskiy To: Sami Wagiaalla In-Reply-To: <4852804D.30601@redhat.com> Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: Specifying a debuginfo path independently of sysroot Date: Fri, 13 Jun 2008 15:56:00 -0000 References: <962B19CF-9923-42EC-9732-BFE1AB7E07DB@sybase.com> <4852804D.30601@redhat.com> X-Mailer: Apple Mail (2.919.2) X-MIMETrack: Itemize by SMTP Server on WaterlooMail1/SYBASE(Release 6.5.4|March 27, 2005) at 06/13/2008 11:06:24 AM, Serialize by Router on gwwest/SYBASE(Release 6.5.5|November 30, 2005) at 06/13/2008 08:06:28 AM, Serialize complete at 06/13/2008 08:06:28 AM Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes 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/msg00103.txt.bz2 Hi Sami, We save debug symbols for every build on a central server. The binaries that are tested (and shipped) are stripped, except for a gnu_debuglink. To debug issues on QA machines or customer issues, we find it convenient to simply create a symbolic .debug link from the directory where the binaries and libraries are installed to where we keep the symbols for the particular build we want to debug. The directory structure of the symbol repository does not necessarily match the directory structure of the location where the software was installed. Thanks, Ray On 13-Jun-08, at 10:12 AM, Sami Wagiaalla wrote: > Hi Ray, > >> I was wondering if it was possible to pass a custom debuginfo path >> from frysk to libdwfl without using the -sysroot switch. > > I guess the first question is why would one want to do this ?..maybe > there is a larger problem that we should fix, also for the record :) > >> If this is not currently possible, I was wondering if it might be >> desirable to allow for this. I wouldn't mind taking a crack at >> implementing this, if given an idea as to what semantics would be >> desired. > > If you do go for it here are a couple of things to look out for: > > 1) I think CommandLineParser.java would be a good spot to add it so > that the functionality tricles down to all the command line utilities. > > 2) We are currently in a slow switch from CNI to JNI so we have two > sets of bindings that we are maintaining. So if you do touch the > bindings make sure you update the JNI side of things... hopefully > this would be over by frysk 0.5 :) > > 3) It would be really cool if your patch comes with a test case. The > frysk test suite is nice to work with now-a-days. You can find > examples in Test*.java... then copy/paste and edit. > > Cheers, > Sami >