From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6382 invoked by alias); 3 Mar 2011 15:32:18 -0000 Received: (qmail 6374 invoked by uid 22791); 3 Mar 2011 15:32:17 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 Mar 2011 15:32:13 +0000 Received: (qmail 26943 invoked from network); 3 Mar 2011 15:32:11 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 3 Mar 2011 15:32:11 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [patch gdb]: Fix some DOS-path related issues in gdb Date: Thu, 03 Mar 2011 15:32:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.35-27-generic; KDE/4.6.0; x86_64; ; ) Cc: Joel Brobecker , Eli Zaretskii , Kai Tietz References: <20110303145832.GY30306@adacore.com> In-Reply-To: <20110303145832.GY30306@adacore.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103031532.19941.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-03/txt/msg00174.txt.bz2 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... I haven't looked at Kai's patch to see if it affects host paths or source paths. -- Pedro Alves