From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3289 invoked by alias); 13 Jun 2008 14:12:52 -0000 Received: (qmail 3275 invoked by uid 22791); 13 Jun 2008 14:12:51 -0000 X-Spam-Status: No, hits=-2.2 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; Fri, 13 Jun 2008 14:12:32 +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 m5DECUZL017203; Fri, 13 Jun 2008 10:12:30 -0400 Received: from pobox-3.corp.redhat.com (pobox-3.corp.redhat.com [10.11.255.67]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m5DECUdx004557; Fri, 13 Jun 2008 10:12:30 -0400 Received: from toner.yyz.redhat.com (toner.yyz.redhat.com [10.15.16.55]) by pobox-3.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m5DECTsg000626; Fri, 13 Jun 2008 10:12:29 -0400 Message-ID: <4852804D.30601@redhat.com> Date: Fri, 13 Jun 2008 15:07:00 -0000 From: Sami Wagiaalla User-Agent: Thunderbird 2.0.0.14 (X11/20080501) MIME-Version: 1.0 To: Ray Ruvinskiy CC: frysk@sourceware.org Subject: Re: Specifying a debuginfo path independently of sysroot References: <962B19CF-9923-42EC-9732-BFE1AB7E07DB@sybase.com> In-Reply-To: <962B19CF-9923-42EC-9732-BFE1AB7E07DB@sybase.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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/msg00102.txt.bz2 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