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: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>, 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 23:00:56 +0000 (UTC)
- Subject: Re: [commit] Handle files without DW_AT_comp_dir
- References: <20070604123615.GA22533@caradoc.them.org> <20120406123641.GA18063@host2.jankratochvil.net> <CAN9gPaE6QYMtpT2pL64JcvKhKYmQuSQ4Qo0ii9bQ0rJvhiV21Q@mail.gmail.com>
On Sat, 7 Apr 2012, Daniel Jacobowitz wrote:
> 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 :-)
It may have been
<http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00404.html>. The case of
absolute paths to the source file and headers found by a relative -I path
would probably have appeared when building glibc.
--
Joseph S. Myers
joseph@codesourcery.com