linux-unwind.h (sh_fallback_frame_state): Don't fixup pc here.
authorKaz Kojima <kkojima@gcc.gnu.org>
Thu, 21 Oct 2004 11:08:06 +0000 (11:08 +0000)
committerKaz Kojima <kkojima@gcc.gnu.org>
Thu, 21 Oct 2004 11:08:06 +0000 (11:08 +0000)
* config/sh/linux-unwind.h (sh_fallback_frame_state): Don't
fixup pc here.

From-SVN: r89370

gcc/ChangeLog
gcc/config/sh/linux-unwind.h

index af5b63b1adafbe3247c4b81fdbc32c161efb23fd..011fca3b596c141ce7cc8013aee399bd2869eb5b 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/linux-unwind.h (sh_fallback_frame_state): Don't
+       fixup pc here.
+
 2004-10-21  Aldy Hernandez  <aldyh@redhat.com>
 
        PR 18004.
index ed32e245cfabb0003b6926e29901cd99ae8cc01e..82370e231e6189a506cd52b2a6284d38f159e1eb 100644 (file)
@@ -154,10 +154,6 @@ sh_fallback_frame_state (struct _Unwind_Context *context,
     = (long)&(sc->sc_fpscr) - new_cfa;
 #endif
 
-  /* The unwinder expects the PC to point to the following insn,
-     whereas the kernel returns the address of the actual
-     faulting insn.  */
-  sc->sc_pc += 2;
   fs->regs.reg[SH_DWARF_FRAME_PC].how = REG_SAVED_OFFSET;
   fs->regs.reg[SH_DWARF_FRAME_PC].loc.offset
     = (long)&(sc->sc_pc) - new_cfa;