forked from Imagelibrary/binutils-gdb
* 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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user