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 Wed, May 04, 2005 at 01:43:21PM -0400, Eli Zaretskii wrote:
>> Date: Wed, 4 May 2005 10:55:35 -0400
>> From: Christopher Faylor <me@cgf.cx>
>>
>> Has anyone actually confirmed that gcc will put \abc or x:abc in source
>> files?
>
>I did (as I told elsewhere in this thread).
Sorry, I joined the discussion in this thread only after I noticed that
you were wondering if windows had a realpath or canonicalize_file_name.
I have now read most of the responses from you and, so far, I've only
seen "I think I've seen" or "gcc can do this in some cases".
Nevertheless, I think it is irrelevant what could possibly show up
in debug info since it is possible to convert everything into the
x:\y or \\x\y form by using libiberty's lrealpath. That
would reduce the regex for an absolute path on windows to:
[a-zA-Z]:\\.*\|\\\\[^\\][^\\]*\\[^\\].*
cgf