diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-06-30 22:38:30 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-06-30 22:38:30 +0000 |
commit | 72e13bb9e4ed7b8084103793630985fde2625eb1 (patch) | |
tree | 9a62a94cb9f22946201ec73cf6f19c3275301e97 /gprof/vax.c | |
parent | 40ccfaaf3baa70f9a5a2ddf250c277393c305cc3 (diff) | |
download | binutils-redhat-72e13bb9e4ed7b8084103793630985fde2625eb1.tar.gz |
* 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/vax.c')
-rw-r--r-- | gprof/vax.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gprof/vax.c b/gprof/vax.c index 1a7bd8dc14..33fdf43d46 100644 --- a/gprof/vax.c +++ b/gprof/vax.c @@ -250,7 +250,8 @@ vax_find_call (parent, p_lowpc, p_highpc) p_highpc = s_highpc; } DBG (CALLDEBUG, printf ("[findcall] %s: 0x%lx to 0x%lx\n", - parent->name, p_lowpc, p_highpc)); + parent->name, (unsigned long) p_lowpc, + (unsigned long) p_highpc)); for (instructp = (unsigned char *) core_text_space + p_lowpc; instructp < (unsigned char *) core_text_space + p_highpc; instructp += length) @@ -314,9 +315,11 @@ vax_find_call (parent, p_lowpc, p_highpc) { child = sym_lookup (&symtab, destpc); DBG (CALLDEBUG, - printf ("[findcall]\tdestpc 0x%lx", destpc); + printf ("[findcall]\tdestpc 0x%lx", + (unsigned long) destpc); printf (" child->name %s", child->name); - printf (" child->addr 0x%lx\n", child->addr); + printf (" child->addr 0x%lx\n", + (unsigned long) child->addr); ); if (child->addr == destpc) { |