diff options
author | Kaz Kojima <kkojima@gcc.gnu.org> | 2004-10-21 11:08:06 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@gcc.gnu.org> | 2004-10-21 11:08:06 +0000 |
commit | cc6cea1b7feb8d832a2e302535e3304b2ca8e2ec (patch) | |
tree | 87bf582166fb904028dab1ccdd22ccff8275677e /gcc | |
parent | 28526e203f612c5d1fc1e6948958f818144f6ece (diff) | |
download | gcc-cc6cea1b7feb8d832a2e302535e3304b2ca8e2ec.zip gcc-cc6cea1b7feb8d832a2e302535e3304b2ca8e2ec.tar.gz gcc-cc6cea1b7feb8d832a2e302535e3304b2ca8e2ec.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/sh/linux-unwind.h | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index af5b63b..011fca3b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/sh/linux-unwind.h b/gcc/config/sh/linux-unwind.h index ed32e24..82370e2 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; |