* elf.c (_bfd_elf_make_section_from_shdr): Only set SEC_DATA if
[deliverable/binutils-gdb.git] / gdb / m88k-tdep.c
index a932e4c6aeb39afa0e3f40c4c7b46acdc065faf9..a9d9e1278fe3fe2f8029ca03097ccbe3f5672180 100644 (file)
@@ -26,7 +26,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #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
@@ -37,13 +36,6 @@ void frame_find_saved_regs ();
    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.
@@ -480,7 +472,15 @@ frame_find_saved_regs (fi, fsr)
       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)
This page took 0.025633 seconds and 4 git commands to generate.