Why gdb 6.5 prints fullname in /cygdrive/... format om Windows?

Daniel Jacobowitz drow@false.org
Wed Aug 9 13:42:00 GMT 2006


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



More information about the Gdb mailing list