From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12399 invoked by alias); 9 Aug 2006 14:38:16 -0000 Received: (qmail 12391 invoked by uid 22791); 9 Aug 2006 14:38:16 -0000 X-Spam-Check-By: sourceware.org Received: from pool-71-248-179-229.bstnma.fios.verizon.net (HELO cgf.cx) (71.248.179.229) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 09 Aug 2006 14:38:13 +0000 Received: by cgf.cx (Postfix, from userid 201) id 19E0713C042; Wed, 9 Aug 2006 10:38:12 -0400 (EDT) Date: Wed, 09 Aug 2006 14:38:00 -0000 From: Christopher Faylor To: gdb@sourceware.org Subject: Re: Why gdb 6.5 prints fullname in /cygdrive/... format om Windows? Message-ID: <20060809143812.GE26037@trixie.casa.cgf.cx> Mail-Followup-To: 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> <20060809134209.GA20955@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060809134209.GA20955@nevyn.them.org> User-Agent: Mutt/1.5.11 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/msg00069.txt.bz2 On Wed, Aug 09, 2006 at 09:42:09AM -0400, Daniel Jacobowitz wrote: >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. It is also documented to some degree here: http://cygwin.com/faq/faq.programming.html#faq.programming.msvs-mingw But, of course, now that I have provided a link, I see that it is out of date. You need 4212 bytes free at the bottom of the stack, not 4K. I'm half-heartedly looking at some way to expose that value to a program currently. Further questions or comments about this technique should be directed to the cygwin mailing list: cygwin AT cygwin PERIOD com cgf