diff options
author | Ben Elliston <bje@au.ibm.com> | 2004-05-26 04:06:26 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2004-05-26 04:06:26 +0000 |
commit | 37b1bfcd81b4c43b5a649535c6306713cb04dd69 (patch) | |
tree | 8833e760fac585856779552964e17726ea664a05 /gprof/corefile.h | |
parent | 6d1be3f1860bfc9fb75ea83cb930afb1ce895514 (diff) | |
download | binutils-gdb-37b1bfcd81b4c43b5a649535c6306713cb04dd69.tar.gz |
* 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.
Diffstat (limited to 'gprof/corefile.h')
-rw-r--r-- | gprof/corefile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gprof/corefile.h b/gprof/corefile.h index 7ecbbff87fd..87237921f3f 100644 --- a/gprof/corefile.h +++ b/gprof/corefile.h @@ -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 */ |