Commit | Line | Data |
---|---|---|
252b5132 RH |
1 | #ifndef corefile_h |
2 | #define corefile_h | |
3 | ||
4 | #include "bfd.h" | |
5 | ||
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 */ | |
11 | ||
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 */ | |
15 | ||
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)); | |
20 | ||
21 | #endif /* corefile_h */ |