* 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.
This commit is contained in:
Ben Elliston
2004-05-26 04:06:26 +00:00
parent 6d1be3f186
commit 37b1bfcd81
4 changed files with 47 additions and 78 deletions

View File

@@ -41,7 +41,7 @@ extern int offset_to_code; /* Offset (in bytes) of code from entry
extern void core_init PARAMS ((const char *));
extern void core_get_text_space PARAMS ((bfd *));
extern void core_create_function_syms PARAMS ((bfd *));
extern void core_create_line_syms PARAMS ((bfd *));
extern void core_create_function_syms PARAMS ((void));
extern void core_create_line_syms PARAMS ((void));
#endif /* corefile_h */