public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/28047] New: DWARF output_file_names should really understand DOS pathnames
@ 2006-06-15 22:59 geoffk at gcc dot gnu dot org
0 siblings, 0 replies; only message in thread
From: geoffk at gcc dot gnu dot org @ 2006-06-15 22:59 UTC (permalink / raw)
To: gcc-bugs
While doing some DWARF-related work, I noticed that output_file_names in
dwarf2out.c parses filenames assuming they are UNIX, things like:
/* Skip all leading "./". */
f = d->filename;
while (f[0] == '.' && f[1] == '/')
f += 2;
I'm fairly sure it won't work right on DOS-style pathnames, even something as
simple as \foo\bar.h won't be handled right.
Probably all the filename handling in dwarf2out.c should be checked for related
issues.
--
Summary: DWARF output_file_names should really understand DOS
pathnames
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: geoffk at gcc dot gnu dot org
GCC target triplet: *-*-mingw
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28047
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-15 22:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-15 22:59 [Bug debug/28047] New: DWARF output_file_names should really understand DOS pathnames geoffk at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).