From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28108 invoked by alias); 4 Mar 2011 13:05:43 -0000 Received: (qmail 28099 invoked by uid 22791); 4 Mar 2011 13:05:42 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from smtp.nokia.com (HELO mgw-da01.nokia.com) (147.243.128.24) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Mar 2011 13:05:33 +0000 Received: from gar.localnet (bettdhcp167183.europe.nokia.com [172.25.167.183]) by mgw-da01.nokia.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id p24D5Unv023803 for ; Fri, 4 Mar 2011 15:05:30 +0200 From: =?iso-8859-1?q?Andr=E9_P=F6nitz?= To: gdb-patches@sourceware.org Subject: Re: [patch gdb]: Fix some DOS-path related issues in gdb Date: Fri, 04 Mar 2011 13:05:00 -0000 User-Agent: KMail/1.13.2 (Linux/2.6.32-21-generic; KDE/4.4.5; i686; ; ) References: <83tyfkw00f.fsf@gnu.org> <20110304051203.GA30306@adacore.com> In-Reply-To: <20110304051203.GA30306@adacore.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201103041411.34582.andre.poenitz@nokia.com> X-Nokia-AV: Clean 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/msg00291.txt.bz2 On Friday 04 March 2011 06:12:03 ext Joel Brobecker wrote: > > Is that use-case even practical? Who would develop on Windows if they > > have Linux or Irix? > > I really can't say that this is going to happen frequently... > But I've seen situations where developers cross compile from > their Windows desktop and then execute on a server running a Unix-like > system. It might make less sense for GNU/Linux (I think that people > are less scared of it, these days), but could make more sense for > IRIX - I don't know how easy it is to procure a machine running > IRIX these days... Just two data points from an "gdb frontend" perspective: - Two weeks ago I had to enable core file handling on Windows which I previously disabled because I assumed it would not be needed. Someone was actually trying to use it. Quote from the bug report: (http://bugreports.qt.nokia.com/browse/QTCREATORBUG-3813) "I want to use gdb (compiled using Mingw for mips64 target) to debug a machine that dumps core." - Today(!) I got a log file containing [...] GNU gdb (GDB) 7.2 This GDB was configured as "i686-pc-mingw32". [...] 153-break-insert -f "\"main.cpp\":47" 153^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y", addr="0x004013b8",func="qMain(int, char **)",file="..\\calendar\\main.cpp", fullname="C:\\SDK1\\Examples\\4.7\\richtext\\calendar-build-desktop/..\\calendar\\main.cpp", line="47",times="0",original-location="\"main.cpp\":47"} [...] Note the "/.." bit in fullname. People try to use gdb in a lot of "cross debugging" scenarios nowadays. Andre'