diff options
Diffstat (limited to 'gdb/exec.h')
-rw-r--r-- | gdb/exec.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -21,6 +21,7 @@ #define EXEC_H #include "target.h" +#include "progspace.h" struct target_section; struct target_ops; @@ -28,6 +29,9 @@ struct bfd; extern struct target_ops exec_ops; +#define exec_bfd current_program_space->ebfd +#define exec_bfd_mtime current_program_space->ebfd_mtime + /* Builds a section table, given args BFD, SECTABLE_PTR, SECEND_PTR. Returns 0 if OK, 1 on error. */ @@ -82,5 +86,6 @@ extern void add_target_sections (struct target_section *sections, extern void print_section_info (struct target_section_table *table, bfd *abfd); +extern void exec_close (void); #endif |