summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-21 11:08:06 +0000
committerkkojima <kkojima@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-21 11:08:06 +0000
commita67a1bf1a8dc27f697544ecb16efb11c4f3b2276 (patch)
tree87bf582166fb904028dab1ccdd22ccff8275677e /gcc/config
parent3cc25a48377424b5cc1637ce551cf13b058ba939 (diff)
downloadgcc-a67a1bf1a8dc27f697544ecb16efb11c4f3b2276.tar.gz
* config/sh/linux-unwind.h (sh_fallback_frame_state): Don't
fixup pc here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89370 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/sh/linux-unwind.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/config/sh/linux-unwind.h b/gcc/config/sh/linux-unwind.h
index ed32e245cfa..82370e231e6 100644
--- a/gcc/config/sh/linux-unwind.h
+++ b/gcc/config/sh/linux-unwind.h
@@ -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;