#include "symtab.h"
#include "setjmp.h"
#include "value.h"
-#include "ieee-float.h" /* for ext_format & friends */
/* Size of an instruction */
#define BYTES_PER_88K_INSN 4
relevance for the ways in which we screw with instruction pointers. */
int target_is_m88110 = 0;
-/* FIXME: this is really just a guess based on m88110 being big
- endian. */
-const struct ext_format ext_format_m88110 = {
-/* tot sbyte smask expbyte manbyte */
- 10, 0, 0x80, 0,1, 4,8 /* m88110 */
-};
-
/* Given a GDB frame, determine the address of the calling function's frame.
This will be used to create a new GDB frame struct, and then
INIT_EXTRA_FRAME_INFO and INIT_FRAME_PC will be called for the new frame.
limit = (sal.end && sal.end < fi->pc) ? sal.end: fi->pc;
/* This will fill in fields in *fi as well as in cache_fsr. */
+#ifdef SIGTRAMP_FRAME_FIXUP
+ if (fi->signal_handler_caller)
+ SIGTRAMP_FRAME_FIXUP(fi->frame);
+#endif
examine_prologue (ip, limit, fi->frame, cache_fsr, fi);
+#ifdef SIGTRAMP_SP_FIXUP
+ if (fi->signal_handler_caller && fi->fsr->regs[SP_REGNUM])
+ SIGTRAMP_SP_FIXUP(fi->fsr->regs[SP_REGNUM]);
+#endif
}
if (fsr)