From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17842 invoked by alias); 1 Jun 2004 18:56:17 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 17642 invoked from network); 1 Jun 2004 18:56:10 -0000 Received: from unknown (HELO mail-out3.apple.com) (17.254.13.22) by sourceware.org with SMTP; 1 Jun 2004 18:56:10 -0000 Received: from mailgate1.apple.com (a17-128-100-225.apple.com [17.128.100.225]) by mail-out3.apple.com (8.12.11/8.12.11) with ESMTP id i51IvTs6025441 for ; Tue, 1 Jun 2004 11:57:29 -0700 (PDT) Received: from relay4.apple.com (relay4.apple.com) by mailgate1.apple.com (Content Technologies SMTPRS 4.3.6) with ESMTP id ; Tue, 1 Jun 2004 11:56:04 -0700 Received: from [17.201.22.21] (moleja.apple.com [17.201.22.21]) by relay4.apple.com (8.12.11/8.12.11) with ESMTP id i51ItlDQ012421; Tue, 1 Jun 2004 11:55:47 -0700 (PDT) In-Reply-To: <20040601180111.GA2685@white> References: <20040329205545.GA26696@white> <20040405214043.GA2052@white> <20040412150620.GA9464@white> <20040420141001.GB4465@white> <16519.59247.93650.941260@localhost.redhat.com> <20040426130529.GA11975@white> <20040506221258.GA7008@white> <20040522015250.GA26435@white> <16572.43047.435129.31640@localhost.redhat.com> <20040601180111.GA2685@white> Mime-Version: 1.0 (Apple Message framework v660) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <4CCED8B3-B3FD-11D8-B0D2-000A9569836A@apple.com> Cc: Elena Zannoni , gdb-patches@sources.redhat.com Content-Transfer-Encoding: 7bit From: Jason Molenda Subject: Re: -file-list-exec-source-files Date: Tue, 01 Jun 2004 18:56:00 -0000 To: Bob Rossi X-SW-Source: 2004-06/txt/msg00018.txt.bz2 On Jun 1, 2004, at 11:01 AM, Bob Rossi wrote: > On Tue, Jun 01, 2004 at 12:00:39PM -0400, Elena Zannoni wrote: >> >>>>> + pst->dirname = xstrdup ( comp_unit_die.dirname ); >>>>> + >> >> Forgot this bit. > > Is this the bit you are talking about? I'd wager Elena was talking about the spaces inside the parentheses. > The dwarf2 specs say that the name is in the form ":pathname" or > "hostname:pathname". Should we worry about the hostname? Does gcc emit > that? I have looked at a few executables and didn't see the hostname > part. After arguing that this was a stupid standard on gdb-patches :-) I made some snarky comment about it on the dwarf2 mailing list and was informed that there do exist compilers that emit hostname:pathname. I'd have to dig up the e-mails to find it, but I think the SGI compiler was an example of one. I'm not arguing that your patch needs to handle this; this hasn't been properly handled in gdb until now so it's not a regression. Jason