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 Tue, Aug 08, 2006 at 11:29:23AM -0400, Christopher Faylor wrote:
> On Tue, Aug 08, 2006 at 09:18:23AM -0400, Daniel Jacobowitz wrote:
> >On Tue, Aug 08, 2006 at 10:34:46PM +1200, Nick Roberts wrote:
> >> Is this real output?  I thought the fullname field for breakpoints
> >> was only added in February of this year:
> >
> >And what versions of GDB are you really using: where did you get them
> >from, and what platform are they configured for?
> >
> >If you build a mingw32 GDB, it'll probably give you c:\\ paths.  A
> >Cygwin GDB will usually give you /cygdrive paths.
> 
> ...and that's by design, not by accident.  Cygwin is REALLY intended to
> be used with POSIX-like paths.  c:\foo style paths are supported only
> as an afterthought.

This seems OK for front ends to GDB that are compiled in Cygwin, and
thus can convert the path /cygpath... to a C:\.. (as is my front end).

However, front ends that compile natively to windows but are using
cygwin's GDB will have trouble with this. Is the intention to exclude
those front ends from understanding this information?

Bob Rossi


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