make remote_protocol_features "const"
[deliverable/binutils-gdb.git] / gdb / exec.h
index 89fd1565f7c65224f128de8471250e8411b06d3a..21ccba8c68b6794f54473d7ebcbc3151db95fa8f 100644 (file)
@@ -1,7 +1,6 @@
 /* Work with executable files, for GDB, the GNU debugger.
 
-   Copyright (C) 2003, 2007, 2008, 2009, 2010, 2011
-   Free Software Foundation, Inc.
+   Copyright (C) 2003-2013 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -82,14 +81,15 @@ extern int section_table_xfer_memory_partial (gdb_byte *, const gdb_byte *,
 /* Set the loaded address of a section.  */
 extern void exec_set_section_address (const char *, int, CORE_ADDR);
 
-/* Remove all target sections taken from ABFD.  */
+/* Remove all target sections owned by OWNER.  */
 
-extern void remove_target_sections (bfd *abfd);
+extern void remove_target_sections (void *owner);
 
 /* Add the sections array defined by [SECTIONS..SECTIONS_END[ to the
    current set of target sections.  */
 
-extern void add_target_sections (struct target_section *sections,
+extern void add_target_sections (void *owner,
+                                struct target_section *sections,
                                 struct target_section *sections_end);
 
 /* Prints info about all sections defined in the TABLE.  ABFD is
This page took 0.023995 seconds and 4 git commands to generate.