From 97c34f656c6045d6daf0b2a20f0e9de6da5a955a Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 25 May 2004 21:55:43 +0000 Subject: 2004-05-25 Andrew Cagney * symfile.h (symbol_file_add_from_memory): Delete declaration. * symfile-mem.h: Delete file. * symfile-mem.c: Do not include "symfile-mem.h". (symbol_file_add_from_memory): Make static. Use "struct bfd" and "struct bfd_section". When an error do not bother returning NULL. (add_symbol_file_from_memory_command): Use "struct bfd" and "struct bfd_section". * Makefile.in (symfile_mem_h): Delete. (symfile-mem.o): Update dependencies. --- gdb/symfile.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gdb/symfile.h') diff --git a/gdb/symfile.h b/gdb/symfile.h index 4c08596..b76d3ba 100644 --- a/gdb/symfile.h +++ b/gdb/symfile.h @@ -306,12 +306,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); -- cgit v1.1