#include "gdb_assert.h"
#include "block.h"
#include "dictionary.h"
+#include "mdebugread.h"
/* These are needed if the tm.h file does not contain the necessary
mips specific definitions. */
#ifndef MDEBUG_EFI_SYMBOL_NAME
#define MDEBUG_EFI_SYMBOL_NAME "__GDB_EFI_INFO__"
-extern void ecoff_relocate_efi (struct symbol *, CORE_ADDR);
-#include "coff/sym.h"
-#include "coff/symconst.h"
-struct mdebug_extra_func_info
-{
- long numargs;
- PDR pdr;
-};
-#ifndef RA_REGNUM
-#define RA_REGNUM 0
-#endif
#endif
#include "gdb_stat.h"
&& strcmp (sh_name, "setjmp") == 0)
{
complaint (&symfile_complaints, "fixing bad setjmp PDR from libc");
+#ifdef RA_REGNUM
e->pdr.pcreg = RA_REGNUM;
+#else
+ e->pdr.pcreg = 0;
+#endif
e->pdr.regmask = 0x80000000;
e->pdr.regoffset = -4;
}