From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22030 invoked by alias); 9 Aug 2006 13:42:16 -0000 Received: (qmail 22022 invoked by uid 22791); 9 Aug 2006 13:42:16 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 09 Aug 2006 13:42:12 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GAoK1-0005VS-Rq; Wed, 09 Aug 2006 09:42:09 -0400 Date: Wed, 09 Aug 2006 13:42:00 -0000 From: Daniel Jacobowitz To: Andrew STUBBS Cc: gdb@sourceware.org Subject: Re: Why gdb 6.5 prints fullname in /cygdrive/... format om Windows? Message-ID: <20060809134209.GA20955@nevyn.them.org> Mail-Followup-To: Andrew STUBBS , gdb@sourceware.org References: <44D832EE.2040405@sun.com> <17624.26822.63634.129976@kahikatea.snap.net.nz> <20060808131823.GB16362@nevyn.them.org> <20060808152923.GA23703@trixie.casa.cgf.cx> <20060808173127.GA27456@brasko.net> <20060808173555.GA24654@nevyn.them.org> <44D9A819.1010007@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44D9A819.1010007@st.com> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00067.txt.bz2 On Wed, Aug 09, 2006 at 10:17:13AM +0100, Andrew STUBBS wrote: > Daniel Jacobowitz wrote: > >A non-Cygwin application can convert the Cygwin paths to Windows paths > >(by dynamic loading of Cygwin if it's present). > > Interesting idea. How's it done? There's an example hidden in the Cygwin sources, in testsuite/winsup.api/cygload.cc. It's a little tricksy, but not too hard. > I'm not suggesting GDB do such a thing, but it sounds like a useful > trick for my own purposes. It can be, yes :-) -- Daniel Jacobowitz CodeSourcery