From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9824 invoked by alias); 18 Jan 2008 01:30:17 -0000 Received: (qmail 8992 invoked by uid 48); 18 Jan 2008 01:29:33 -0000 Date: Fri, 18 Jan 2008 01:30:00 -0000 From: "cagney at redhat dot com" To: frysk-bugzilla@sourceware.org Message-ID: <20080118012933.5641.cagney@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/5641] New: Assume there's always a sysroot. X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2008-q1/txt/msg00152.txt.bz2 List-Id: Rather than special caseing: + else { + String sysroot = DbgVariables.getStringValue("SYSROOT"); + if (sysroot.length() > 0) { + File parent = new File(sysroot); + f = new File(parent, dwflLine.getSourceFile()); + } + } the code can be constructed so that there is always a sysroot (a Sysroot object?) and anything needing to resolve a path can use that to do it. -- Summary: Assume there's always a sysroot. Product: frysk Version: unspecified Status: NEW Severity: normal Priority: P2 Component: general AssignedTo: frysk-bugzilla at sourceware dot org ReportedBy: cagney at redhat dot com OtherBugsDependingO 5624 nThis: http://sourceware.org/bugzilla/show_bug.cgi?id=5641 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.