[commit] Handle files without DW_AT_comp_dir

Daniel Jacobowitz drow@false.org
Sat Apr 7 22:37:00 GMT 2012


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



More information about the Gdb-patches mailing list