aboutsummaryrefslogtreecommitdiff
path: root/libjava/exception.cc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2009-11-13 18:05:20 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2009-11-13 18:05:20 +0000
commit0761b46229e1ccc5b573eaf972ff2a0d64477493 (patch)
tree2a0d4c013f2b56246d992f5cfa2fa093ecffca29 /libjava/exception.cc
parentd7f1df66b24583dde50993c2aed5e4d517c44026 (diff)
downloadgcc-0761b46229e1ccc5b573eaf972ff2a0d64477493.zip
gcc-0761b46229e1ccc5b573eaf972ff2a0d64477493.tar.gz
gcc-0761b46229e1ccc5b573eaf972ff2a0d64477493.tar.bz2
* exception.cc (PERSONALITY_FUNCTION): Fix oversight.
From-SVN: r154159
Diffstat (limited to 'libjava/exception.cc')
-rw-r--r--libjava/exception.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/exception.cc b/libjava/exception.cc
index 3a8fe46..8affbbe 100644
--- a/libjava/exception.cc
+++ b/libjava/exception.cc
@@ -328,7 +328,7 @@ PERSONALITY_FUNCTION (int version,
#ifdef HAVE_GETIPINFO
ip = _Unwind_GetIPInfo (context, &ip_before_insn);
#else
- ip = _Unwind_GetIP (context) - 1;
+ ip = _Unwind_GetIP (context);
#endif
if (! ip_before_insn)
--ip;