This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit] Handle files without DW_AT_comp_dir
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, iam ahal <hal9000ed2k at gmail dot com>, Tom Tromey <tromey at redhat dot com>, Eli Zaretskii <eliz at gnu dot org>, palves at redhat dot com, dje at google dot com, pmuldoon at redhat dot com, brobecker at adacore dot com, asmwarrior at gmail dot com
- Date: Sat, 7 Apr 2012 18:36:51 -0400
- Subject: Re: [commit] Handle files without DW_AT_comp_dir
- References: <20070604123615.GA22533@caradoc.them.org> <20120406123641.GA18063@host2.jankratochvil.net>
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