2004-09-13 Andrew Cagney <cagney@gnu.org>
[deliverable/binutils-gdb.git] / gdb / symfile.h
index 4c085969c4c28f1745dfc30a4f3c47fadae29e20..0fa9c46a34bd3f8c911b73c3328f7ad813007862 100644 (file)
@@ -198,6 +198,11 @@ extern struct objfile *symbol_file_add_from_bfd (bfd *, int,
 extern struct section_addr_info *alloc_section_addr_info (size_t
                                                          num_sections);
 
+/* Return a freshly allocated copy of ADDRS.  The section names, if
+   any, are also freshly allocated copies of those in ADDRS.  */
+extern struct section_addr_info *(copy_section_addr_info 
+                                  (struct section_addr_info *addrs));
+
 /* Build (allocate and populate) a section_addr_info struct from an
    existing section table.  */
 
@@ -306,12 +311,6 @@ extern CORE_ADDR symbol_overlayed_address (CORE_ADDR, asection *);
 /* Load symbols from a file.  */
 extern void symbol_file_add_main (char *args, int from_tty);
 
-/* Read inferior memory at ADDR to find the header of a loaded object file
-   and read its in-core symbols out of inferior memory.  TEMPL is a bfd
-   representing the target's format.  */
-extern struct objfile *symbol_file_add_from_memory (bfd *templ, CORE_ADDR addr,
-                                                   int from_tty);
-
 /* Clear GDB symbol tables.  */
 extern void symbol_file_clear (int from_tty);
 
This page took 0.035972 seconds and 4 git commands to generate.