From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10055 invoked by alias); 21 Aug 2009 18:23:50 -0000 Received: (qmail 10046 invoked by uid 22791); 21 Aug 2009 18:23:50 -0000 X-SWARE-Spam-Status: No, hits=2.3 required=5.0 tests=AWL,BAYES_00,BOTNET,RCVD_IN_JMF_BL,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout1.012.net.il (HELO mtaout1.012.net.il) (84.95.2.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 21 Aug 2009 18:23:41 +0000 Received: from conversion-daemon.i-mtaout1.012.net.il by i-mtaout1.012.net.il (HyperSendmail v2007.08) id <0KOQ00600O1U8U00@i-mtaout1.012.net.il> for gdb@sourceware.org; Fri, 21 Aug 2009 21:23:12 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.180.85]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KOQ00DH6OEON5A0@i-mtaout1.012.net.il>; Fri, 21 Aug 2009 21:23:12 +0300 (IDT) Date: Fri, 21 Aug 2009 18:51:00 -0000 From: Eli Zaretskii Subject: Re: Build question In-reply-to: <1250877901.11282.116.camel@pavilion> To: danny.backx@scarlet.be Cc: tromey@redhat.com, gdb@sourceware.org Reply-to: Eli Zaretskii Message-id: <83ab1tgh9h.fsf@gnu.org> References: <1250803105.11282.96.camel@pavilion> <83d46pgjkq.fsf@gnu.org> <1250877901.11282.116.camel@pavilion> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-08/txt/msg00215.txt.bz2 > From: Danny Backx > Cc: tromey@redhat.com, gdb@sourceware.org > Date: Fri, 21 Aug 2009 20:05:00 +0200 > > On Fri, 2009-08-21 at 20:31 +0300, Eli Zaretskii wrote: > > > From: Tom Tromey > > > I am not familiar with this area in depth. From what you've said it > > > sounds like gdb has some confusion about host paths and target paths. > > > > The way these macros and the corresponding source fragments in GDB are > > set, they only DTRT for native debugging. > > Also right, but it looks like it doesn't take much to make it just work. I think they need to be converted to run-time tests instead. For that, we would probably need some kind of primitive that returns the filesystem type of the target, what the macros do now at compile-time.