aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/exec.h')
-rw-r--r--gdb/exec.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/exec.h b/gdb/exec.h
index 39d5ea5..d8ea389 100644
--- a/gdb/exec.h
+++ b/gdb/exec.h
@@ -27,6 +27,7 @@
struct target_section;
struct target_ops;
struct bfd;
+struct objfile;
extern struct target_ops exec_ops;
@@ -93,6 +94,11 @@ extern void add_target_sections (void *owner,
struct target_section *sections,
struct target_section *sections_end);
+/* Add the sections of OBJFILE to the current set of target sections.
+ * OBJFILE owns the new target sections. */
+
+extern void add_target_sections_of_objfile (struct objfile *objfile);
+
/* Prints info about all sections defined in the TABLE. ABFD is
special cased --- it's filename is omitted; if it is the executable
file, its entry point is printed. */