From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25949 invoked by alias); 20 Dec 2007 19:37:25 -0000 Received: (qmail 25941 invoked by uid 22791); 20 Dec 2007 19:37:24 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 20 Dec 2007 19:37:20 +0000 Received: from zps37.corp.google.com (zps37.corp.google.com [172.25.146.37]) by smtp-out.google.com with ESMTP id lBKJbGVD009265 for ; Thu, 20 Dec 2007 19:37:16 GMT Received: from wa-out-1112.google.com (wahv27.prod.google.com [10.114.248.27]) by zps37.corp.google.com with ESMTP id lBKJbFAJ024780 for ; Thu, 20 Dec 2007 11:37:15 -0800 Received: by wa-out-1112.google.com with SMTP id v27so1664wah.23 for ; Thu, 20 Dec 2007 11:37:15 -0800 (PST) Received: by 10.114.146.1 with SMTP id t1mr389605wad.20.1198179433814; Thu, 20 Dec 2007 11:37:13 -0800 (PST) Received: by 10.115.107.7 with HTTP; Thu, 20 Dec 2007 11:37:13 -0800 (PST) Message-ID: Date: Thu, 20 Dec 2007 19:40:00 -0000 From: "Doug Evans" To: gdb-patches@sourceware.org Subject: Re: RFC: example fix to pr 2360 In-Reply-To: <20071217000136.GA9212@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071217000136.GA9212@caradoc.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-12/txt/msg00351.txt.bz2 On Dec 16, 2007 4:01 PM, Daniel Jacobowitz wrote: > Are there any examples of this without #line? Thanks for the review. I'm not aware of any examples without #line. While dwarf doesn't understand inodes the paths do have some canonical behaviour. e.g. As I understand it, posix says //tmp/foo == /tmp/foo. I recognize the paths are from the compilation host not the debug host, we could write a path canonicalizer. But no matter, I can certainly pursue a different fix for the problem at hand, perhaps by adding an option to gcc to set DW_AT_comp_dir.