Initial revision
[binutils.git] / gprof / corefile.h
blobb396f8500b20a13fcfb2169ec10a7289778f5868
1 #ifndef corefile_h
2 #define corefile_h
4 #include "bfd.h"
6 extern bfd *core_bfd; /* bfd for core-file */
7 extern int core_num_syms; /* # of entries in symbol-table */
8 extern asymbol **core_syms; /* symbol table in a.out */
9 extern asection *core_text_sect; /* core text section */
10 extern PTR core_text_space; /* text space of a.out in core */
12 extern int min_insn_size; /* size of smallest instruction, in bytes */
13 extern int offset_to_code; /* offset (in bytes) of code from entry
14 address of routine */
16 extern void core_init PARAMS ((const char *a_out_name));
17 extern void core_get_text_space PARAMS ((bfd * core_bfd));
18 extern void core_create_function_syms PARAMS ((bfd * core_bfd));
19 extern void core_create_line_syms PARAMS ((bfd * core_bfd));
21 #endif /* corefile_h */