* corefile.c (core_init): Use a separate local variable,
authorBen Elliston <bje@au.ibm.com>
Wed, 26 May 2004 04:06:26 +0000 (04:06 +0000)
committerBen Elliston <bje@au.ibm.com>
Wed, 26 May 2004 04:06:26 +0000 (04:06 +0000)
commit37b1bfcd81b4c43b5a649535c6306713cb04dd69
tree8833e760fac585856779552964e17726ea664a05
parent6d1be3f1860bfc9fb75ea83cb930afb1ce895514
* corefile.c (core_init): Use a separate local variable,
core_sym_bytes, to make the units from bfd_get_symtab_upper_bound
more obvious.
(core_create_function_syms): Discard cbfd argument.  Eliminate
`offset' variable and calculate VMA directly. Update all users.
* corefile.h (core_create_function_syms): Update prototype.
(core_create_line_syms): Likewise.
* gprof.c (main): Remove #ifdef PROF_SUPPORT_IMPLEMENTED code.
Tidy.
gprof/ChangeLog
gprof/corefile.c
gprof/corefile.h
gprof/gprof.c