From: Pedro Alves <pedro@codesourcery.com>
To: Kai Tietz <ktietz70@googlemail.com>
Cc: gdb-patches@sourceware.org,
Joel Brobecker <brobecker@adacore.com>,
Eli Zaretskii <eliz@gnu.org>
Subject: Re: [patch gdb]: Fix some DOS-path related issues in gdb
Date: Thu, 03 Mar 2011 16:09:00 -0000 [thread overview]
Message-ID: <201103031609.43441.pedro@codesourcery.com> (raw)
In-Reply-To: <AANLkTi=iTaQaraAsiptt=Equ4MsA1qPoPRX6_cKSFTYD@mail.gmail.com>
On Thursday 03 March 2011 15:41:27, Kai Tietz wrote:
> 2011/3/3 Pedro Alves <pedro@codesourcery.com>:
> > On Thursday 03 March 2011 14:58:32, Joel Brobecker wrote:
> >> > I didn't know that the Windows 64bit target can use ELF debug info.
> >> > Can it? With what toolchains?
> >> >
> >> > As for mdebugread.c, I always thought it was MIPS specific. What
> >> > other platforms use it?
> >>
> >> These would still be pertinent in the case of cross debugging, no?
> >> If the files were cross-compiled on Windows, the debug info would
> >> contain file paths that follow the Windows convention...
> >
> > And then if you try to debug that on GNU/Linux, things still
> > won't work, because filename_cmp changes behavior depending on host,
> > not target or context. That's why I believe there should be a clear
> > distinction between what's a source path, and a host path. I think
> > Kai's bfd changes affect host paths, so they're fine. (haven't really
> > checked, but that's what I imagine). For source paths, I'd rather
> > have this patch resurected...
> >
> > <http://sourceware.org/ml/gdb-patches/2010-12/msg00343.html>
> >
> > I haven't looked at Kai's patch to see if it affects host
> > paths or source paths.
> >
> > --
> > Pedro Alves
> >
>
> Well Pedro,
>
> this is exactly the point I described in my reply to Eli. The
> debugging of cross-compiled binaries via systems with different
> filename/path representation was and is still not operating. Here it
> would be necessary to provide host<->creator information for doing a
> mapping. And this isn't handled by this patch.
> But at least this patch takes care that stuff compiled on a host with
> host-compiler using DOS-paths is able to operate correct. And ELF is
> an object-file format and has in principle nothing to do with unix and
> can be used (with loader-support) on any specifc OS.
It sounds like you didn't follow the url I pointed at?
--
Pedro Alves
next prev parent reply other threads:[~2011-03-03 16:09 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <AANLkTi=QoOiBg3XmMv+hRNe8DkT2YiVGZ=7NhaQwzCey@mail.gmail.com>
2011-03-03 12:10 ` Kai Tietz
2011-03-03 13:24 ` Eli Zaretskii
2011-03-03 13:48 ` Kai Tietz
2011-03-03 14:00 ` Eli Zaretskii
2011-03-03 14:58 ` Joel Brobecker
2011-03-03 15:25 ` Kai Tietz
2011-03-03 15:32 ` Pedro Alves
2011-03-03 15:41 ` Kai Tietz
2011-03-03 16:09 ` Pedro Alves [this message]
2011-03-03 16:19 ` Kai Tietz
2011-03-03 16:42 ` Pedro Alves
2011-03-03 17:32 ` Kai Tietz
2011-03-04 7:23 ` Vladimir Simonov
2011-03-04 8:23 ` Joel Brobecker
2011-03-07 19:28 ` Jan Kratochvil
2011-03-07 19:28 ` Pedro Alves
2011-03-07 19:34 ` Jan Kratochvil
2011-03-03 18:09 ` Eli Zaretskii
2011-03-04 5:12 ` Joel Brobecker
2011-03-04 13:05 ` André Pönitz
2011-03-04 9:48 ` Kai Tietz
2011-03-04 10:37 ` Mark Kettenis
2011-03-05 9:13 ` Kai Tietz
2011-03-05 11:38 ` Vladimir Simonov
2011-03-05 12:45 ` Kai Tietz
2011-03-23 11:16 ` Kai Tietz
2011-03-23 12:44 ` Mark Kettenis
2011-03-23 14:07 ` Kai Tietz
2011-03-23 14:16 ` Pedro Alves
2011-03-23 14:18 ` Kai Tietz
2011-03-23 14:29 ` Pierre Muller
[not found] ` <-544184502231544940@unknownmsgid>
2011-03-23 14:44 ` Kai Tietz
2011-03-23 15:29 ` Pedro Alves
2011-03-23 15:29 ` Kai Tietz
2011-03-23 18:24 ` Eli Zaretskii
2011-03-23 21:11 ` Kai Tietz
2011-03-03 17:02 ` Mark Kettenis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201103031609.43441.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=brobecker@adacore.com \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
--cc=ktietz70@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox