aboutsummaryrefslogtreecommitdiff
path: root/gprof/sym_ids.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-06-30 22:38:30 +0000
committerIan Lance Taylor <ian@airs.com>1999-06-30 22:38:30 +0000
commitfdcf7d43287e77faef1282771bd95a56dd141d1f (patch)
tree46d423601e62ca0ed94ac84b0e72a67f60a0c5ec /gprof/sym_ids.c
parent106117aa9f2948a25030e85b9bcac81f43fdce3e (diff)
downloadgdb-fdcf7d43287e77faef1282771bd95a56dd141d1f.zip
gdb-fdcf7d43287e77faef1282771bd95a56dd141d1f.tar.gz
gdb-fdcf7d43287e77faef1282771bd95a56dd141d1f.tar.bz2
* Many files: Add casts in many print statements to cast bfd_vma
values to unsigned long when calling printf. * Makefile.am ($(OBJECTS)): Add gmon.h. * Makefile.in: Rebuild.
Diffstat (limited to 'gprof/sym_ids.c')
-rw-r--r--gprof/sym_ids.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gprof/sym_ids.c b/gprof/sym_ids.c
index ba3ca28..9e0feaa 100644
--- a/gprof/sym_ids.c
+++ b/gprof/sym_ids.c
@@ -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);
}