------- Additional Comments From nickc at redhat dot com 2006-04-26 10:22 ------- Subject: Re: dwarf2dbg.c embeds absolute filename path with hard-coded / separator
Hi Bill, > Another thought -- why not look for the THIRD character to be a backslash? > This will handle not only > absolute paths that start with <single drive letter>:\ but also relative > paths that start with ..\ -- what do > you think? --Bill That wouldn't work. Not all relative paths start with "..". For example if the file is in a sub-directory of the build directory then the path might just be "<sub-dir-name>/<file-name>". In addition it is possible that the backslash character might be there to escape an unconventional path name character. For example suppose that (in a UNIX style naming convention) the root directory contains a sub-directory called "A Directory", and the code wants to reference a file called "Foo" inside this directory. This would appear as /A\ Directory/Foo Cheers Nick -- http://sourceware.org/bugzilla/show_bug.cgi?id=2582 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils