diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2011-02-28 18:32:52 +0000 |
---|---|---|
committer | Kai Tietz <kai.tietz@onevision.com> | 2011-02-28 18:32:52 +0000 |
commit | 8b6efd89a4135971b748c958a852d093b3d79d3d (patch) | |
tree | 0aaae284e884b627bb059825c1b55590cc1327c9 /binutils/debug.c | |
parent | 2011-02-28 Michael Snyder <msnyder@vmware.com> (diff) | |
download | binutils-gdb-8b6efd89a4135971b748c958a852d093b3d79d3d.tar.gz binutils-gdb-8b6efd89a4135971b748c958a852d093b3d79d3d.tar.bz2 binutils-gdb-8b6efd89a4135971b748c958a852d093b3d79d3d.zip |
ChangeLog binutils/
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
* debug.c (debug_start_source): Use filename_(n)cmp.
* ieee.c (ieee_finish_compilation_unit): Likewise.
(ieee_lineno): Likewise.
* nlmconv.c (main): Likewise.
* objcopy.c (strip_main): Likewise.
(copy_main): Likewise.
* objdump.c (show_line): Likewise.
(dump_reloc_set): Likewise.
* srconv.c (main): Likewise.
* wrstabs.c (stab_lineno): Likewise.
ChangeLog gas/
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
* depend.c (register_dependency): Use filename_(n)cmp.
* dwarf2dbg.c (get_filenum): Likewise.
* ecoff.c (add_file): Likewise.
(ecoff_generate_asm_lineno): Likewise.
* input-scrub.c (new_logical_line_flags): Likewise.
* listing.c (file_info): Likewise.
(listing_newline): Likewise.
* remap.c (remap_debug_filename): Likewise.
* stabs.c (generate_asm_file): Likewise.
(stabs_generate_asm_lineno): Likewise.
Diffstat (limited to 'binutils/debug.c')
-rw-r--r-- | binutils/debug.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/binutils/debug.c b/binutils/debug.c index ebe63f1f25f..ee0d62e8ff9 100644 --- a/binutils/debug.c +++ b/binutils/debug.c @@ -31,6 +31,7 @@ #include <assert.h> #include "bfd.h" #include "libiberty.h" +#include "filenames.h" #include "debug.h" /* Global information we keep for debugging. A pointer to this @@ -729,9 +730,7 @@ debug_start_source (void *handle, const char *name) for (f = info->current_unit->files; f != NULL; f = f->next) { - if (f->filename[0] == name[0] - && f->filename[1] == name[1] - && strcmp (f->filename, name) == 0) + if (filename_cmp (f->filename, name) == 0) { info->current_file = f; return TRUE; |