This is the mail archive of the gdb-patches@sourceware.org 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: [commit] Handle files without DW_AT_comp_dir


On Fri, Apr 6, 2012 at 8:36 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> I do not see any problem with it, compilation directory is not known in such
> case. ?I do not see any testcase in this patch which would show which GCC
> versions under which conditions produced such buggy output. ?These GCC
> versions produce correct output, that is:

I'm sure it was the current stable GCC at the time.  That would be
4.1/4.2.  I'd try to find the fix, but picking out a patch by Joseph
is like hunting for a needle in a haystack :-)

> Without known GCC buggy versions going to revert this patch as it breaks
> correct DWARF. ?The thread "that cuts path to file (remain filename)" tries to
> (in some way) undo what this patch does.

Can you explain the way in which this breaks correct DWARF?  I'm
confused since the description of the other thread sounds like an
output issue, not a debug reader issue...

-- 
Thanks,
Daniel


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