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 14:03:03 -0400
> From: Christopher Faylor <me@cgf.cx>
> 
> >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.
> 
> I thought you were advocating that d:foo means "the current directory on
> drive d:" no matter what it might have meant at compile time.  I don't
> see that we have any choice but to do anything but that and, apparently,
> that is what lrealpath will do, as long as the environment is not
> perturbed on XP.

We have a choice: leave it as it is now.

> So, why not just use lrealpath?

Because it might be wrong, if the environment _was_ perturbed (as it
frequently is, since the compiletr could have been in a totally
different directory when it recorded d:foo).

But if I still fail to convince you and others, go ahead and use
lrealpath, since at least it doesn't do anything for the DJGPP port,
so things will remain there as they are now.


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