This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -file-list-exec-source-files



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]