This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] fullname attribute for GDB/MI stack frames
On Mon, May 02, 2005 at 11:40:18PM +0300, Eli Zaretskii wrote:
> > Date: Mon, 2 May 2005 15:55:15 -0400
> > From: Daniel Jacobowitz <drow@false.org>
> > Cc: gdb-patches@sources.redhat.com
> >
> > The usual definition of absolute is that it doesn't rely on current
> > state to resolve it.
>
> DOS/Windows file names can be gray, not only white or black. Examples
> include \abc and d:foo. While not entirely free of ``current''
> something, they are much closer to absolute file names than to
> relative file names, in the sense that you don't prepend cwd to them
> to get an absolute file name (which is what 99.99% of programs
> _really_ want to know when they are testing a file name for being
> absolute).
That's not what we're testing for in the testsuite, though. I think
that we should reject both \abc and d:foo here. We're trying to output
a full pathname.
--
Daniel Jacobowitz
CodeSourcery, LLC