+2004-04-21 Andrew Cagney <cagney@redhat.com>
+
+ * symfile.c (symbol_file_add_from_memory): #if 0 function.
+ (add_symbol_file_from_memory_command): #if 0 function body, call
+ error instead.
+
2004-04-21 Andrew Cagney <cagney@redhat.com>
* gdbcore.h: Update copyright.
#endif
}
\f
+#if 0
/* 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. */
return objf;
}
+#endif
static void
add_symbol_file_from_memory_command (char *args, int from_tty)
{
+#if 0
CORE_ADDR addr;
bfd *templ;
error ("\
Must use symbol-file or exec-file before add-symbol-file-from-memory.");
- (void) symbol_file_add_from_memory (templ, addr, from_tty);
+ symbol_file_add_from_memory (templ, addr, from_tty);
+#else
+ error ("add-symbol-file-from-memory not implemented");
+#endif
}
\f
/* Re-read symbols if a symbol-file has changed. */