mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 02:50:08 +08:00
2011-02-28 Kai Tietz <kai.tietz@onevision.com>
* basic_blocks.c (cmp_bb): Use filename_(n)cmp. * cg_print.c (order_and_dump_functions_by_arcs): Likewise. (cg_print_file_ordering): Likewise. * corefile.c (read_function_mappings): Likewise. (core_create_line_syms): Likewise.
This commit is contained in:
@ -24,6 +24,7 @@
|
||||
|
||||
#include "gprof.h"
|
||||
#include "libiberty.h"
|
||||
#include "filenames.h"
|
||||
#include "basic_blocks.h"
|
||||
#include "corefile.h"
|
||||
#include "gmon_io.h"
|
||||
@ -61,7 +62,7 @@ cmp_bb (const PTR lp, const PTR rp)
|
||||
|
||||
if (left->file && right->file)
|
||||
{
|
||||
r = strcmp (left->file->name, right->file->name);
|
||||
r = filename_cmp (left->file->name, right->file->name);
|
||||
|
||||
if (r)
|
||||
return r;
|
||||
|
Reference in New Issue
Block a user