* corefile.c (core_init): Use a separate local variable,gprof-pre-ansify-2004-05-26
commit624da7d0176d1e16f5f3e16d3b00cf55c4a4cf96
authorBen Elliston <bje@au.ibm.com>
Wed, 26 May 2004 04:06:26 +0000 (26 04:06 +0000)
committerBen Elliston <bje@au.ibm.com>
Wed, 26 May 2004 04:06:26 +0000 (26 04:06 +0000)
treeac5892106204418ef9ee714fd1daf1574d61d408
parent6b20dbcc9f19e1337d36266799a7446d4f3ac761
* 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