aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r--gdb/symfile.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index 6b600ea..61809ba 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -302,6 +302,12 @@ 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);