aboutsummaryrefslogtreecommitdiff
path: root/gprof/sym_ids.c
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/sym_ids.c')
-rw-r--r--gprof/sym_ids.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/gprof/sym_ids.c b/gprof/sym_ids.c
index ba3ca28..412c8d4 100644
--- a/gprof/sym_ids.c
+++ b/gprof/sym_ids.c
@@ -46,7 +46,7 @@ static Sym_Table right_ids;
static Source_File non_existent_file =
{
- 0, "<non-existent-file>"
+ 0, "<non-existent-file>", 0, 0, 0, NULL
};
@@ -323,11 +323,13 @@ DEFUN_VOID (sym_id_parse)
printf (
"[sym_id_parse]: arc %s:%s(%lx-%lx) -> %s:%s(%lx-%lx) to %s\n",
left->file ? left->file->name : "*",
- left->name ? left->name : "*", left->addr,
- left->end_addr,
+ left->name ? left->name : "*",
+ (unsigned long) left->addr,
+ (unsigned long) left->end_addr,
right->file ? right->file->name : "*",
- right->name ? right->name : "*", right->addr,
- right->end_addr,
+ right->name ? right->name : "*",
+ (unsigned long) right->addr,
+ (unsigned long) right->end_addr,
table_name[id->which_table]));
arc_add (left, right, (unsigned long) 0);
}