aboutsummaryrefslogtreecommitdiff
path: root/gprof/basic_blocks.c
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2011-02-28 18:36:14 +0000
committerKai Tietz <kai.tietz@onevision.com>2011-02-28 18:36:14 +0000
commitaee9ba6f903510a47ea5e0bd524806f366dfd82a (patch)
tree665091a34d312a125fd06cc01f2a54b2eb55b25d /gprof/basic_blocks.c
parent426278217bb00a4eb13f360b408fae9368f3a3af (diff)
downloadgdb-aee9ba6f903510a47ea5e0bd524806f366dfd82a.zip
gdb-aee9ba6f903510a47ea5e0bd524806f366dfd82a.tar.gz
gdb-aee9ba6f903510a47ea5e0bd524806f366dfd82a.tar.bz2
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.
Diffstat (limited to 'gprof/basic_blocks.c')
-rw-r--r--gprof/basic_blocks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gprof/basic_blocks.c b/gprof/basic_blocks.c
index 20dd7c3..3946cf294 100644
--- a/gprof/basic_blocks.c
+++ b/gprof/basic_blocks.c
@@ -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;