This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: -file-list-exec-source-files
- From: Bob Rossi <bob at brasko dot net>
- To: Jason Molenda <jmolenda at apple dot com>
- Cc: Elena Zannoni <ezannoni at redhat dot com>, gdb-patches at sources dot redhat dot com
- Date: Tue, 1 Jun 2004 17:22:35 -0400
- Subject: Re: -file-list-exec-source-files
- References: <20040412150620.GA9464@white> <20040420141001.GB4465@white> <uisft98sz.fsf@elta.co.il> <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> <4CCED8B3-B3FD-11D8-B0D2-000A9569836A@apple.com>
On Tue, Jun 01, 2004 at 11:55:50AM -0700, Jason Molenda wrote:
>
> 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.
Ok, Elena, I am going to commit this with the whitespace changes.
Please let me know if this wasn't your intention.
Thanks,
Bob Rossi