Commit cc6cea1b by Kaz Kojima

linux-unwind.h (sh_fallback_frame_state): Don't fixup pc here.

	* config/sh/linux-unwind.h (sh_fallback_frame_state): Don't
	fixup pc here.

From-SVN: r89370
parent 28526e20
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.
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment