This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]