diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2011-02-28 18:23:25 +0000 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2011-02-28 19:23:25 +0100 |
commit | 94369251651270268df0a79ea5917265617b7fb4 (patch) | |
tree | 07ad443dd995197f3280e34b7b9dce263c7e22f2 /gcc/final.c | |
parent | 80a832cd25fa03a93768f3d2bc05d23a06a87e26 (diff) | |
download | gcc-94369251651270268df0a79ea5917265617b7fb4.tar.gz |
re PR debug/28047 (DWARF output_file_names should really understand DOS pathnames)
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
PR debug/28047
* dwarf2out.c (file_table_eq): Use filename_cmp instead of strcmp.
(lookup_filename): Likewise.
* final.c (remap_debug_filename): Use filename_ncmp instead of
strncmp.
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
* filename_cmp.c (filename_ncmp): New function.
* functions.texi: Regenerated.
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
* filenames.h (filename_ncmp): New prototype.
From-SVN: r170570
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/final.c b/gcc/final.c index ceb79744c41..1e1424feabc 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -1492,7 +1492,7 @@ remap_debug_filename (const char *filename) size_t name_len; for (map = debug_prefix_maps; map; map = map->next) - if (strncmp (filename, map->old_prefix, map->old_len) == 0) + if (filename_ncmp (filename, map->old_prefix, map->old_len) == 0) break; if (!map) return filename; |