Re-enable compilation of register_addr() stub whenever it is not supplied

by coredep.c, since it is referenced by fetch_core_registers().  This is
still a temporary kludge.
This commit is contained in:
Fred Fish 1991-11-09 21:43:47 +00:00
parent 3bb089aa0c
commit 8aca810c2a
2 changed files with 12 additions and 3 deletions

View file

@ -1,3 +1,8 @@
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.

View file

@ -63,9 +63,12 @@ struct elfinfo {
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),
@ -74,6 +77,7 @@ DEFUN(register_addr, (regno, blockend),
{
error ("Fetching registers from corefiles unimplemented.");
}
#endif
/* We are called once per section from elf_symfile_read. We