+Sat Nov 9 13:37:57 1991 Fred Fish (fnf at cygnus.com)
+
+ * elfread.c: Re-enable compilation of register_addr() stub
+ whenever it is not supplied by coredep.c
+
Sat Nov 9 00:40:32 1991 John Gilmore (gnu at cygnus.com)
Add tracking of object files (that contain symbols) to gdb.
unsigned int lnsize; /* Size of dwarf line number section */
};
-#if 0
-/* FIXME - crude hack to resolve undefined global. This function is
- part of support for corefiles, which is not yet implemented. */
+#ifndef REGISTER_U_ADDR
+
+/* FIXME - crude hack to resolve undefined global. If REGISTER_U_ADDR
+ is defined, this function gets compiled into coredep.c. If not,
+ it is left unresolved, so we need to resolve it until corefile
+ support for ELF corefiles is finished. */
unsigned int
DEFUN(register_addr, (regno, blockend),
{
error ("Fetching registers from corefiles unimplemented.");
}
+
#endif
/* We are called once per section from elf_symfile_read. We