This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFC] fullname attribute for GDB/MI stack frames


> Date: Wed, 4 May 2005 10:52:00 -0400
> From: Christopher Faylor <me@cgf.cx>
> 
> >Not true: the notion of a current directory on drive d: is maintained
> >by the OS.
> 
> The current directory on another drive is maintained by the "OS" only on
> Windows 9x variants and on MS-DOS.

Okay, but we still support those versions of Windows, right?

>    c:\>./myrealpath d:foo
>    d:\tmp\foo
>    c:\>env - ./myrealpath d:foo
>    d:\foo
> 
> So, AFAICT, libiberty is working fine and it should be safe to expect
> that canonicalized names on windows will either be in the form of
> x:\y\z or \\x\y\z if this is used.

Yes, libiberty is working fine, except that GDB is not using
lrealpath, AFAIK.

And then the question is whether it is correct to resolve d:foo
etc. assuming thath the current drive and directories are identical to
what they were when the source was compiled.  Many projects use
recursive Makefiles that cause the compiler change directories at
will.


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