aboutsummaryrefslogtreecommitdiff
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
parentd7f1df66b24583dde50993c2aed5e4d517c44026 (diff)
downloadgcc-0761b46229e1ccc5b573eaf972ff2a0d64477493.zip
gcc-0761b46229e1ccc5b573eaf972ff2a0d64477493.tar.gz
gcc-0761b46229e1ccc5b573eaf972ff2a0d64477493.tar.bz2
* exception.cc (PERSONALITY_FUNCTION): Fix oversight.
From-SVN: r154159
-rw-r--r--libjava/ChangeLog4
-rw-r--r--libjava/exception.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index d7c6d36..37153da 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,7 @@
+2009-11-13 Eric Botcazou <ebotcazou@adacore.com>
+
+ * exception.cc (PERSONALITY_FUNCTION): Fix oversight.
+
2009-11-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
PR bootstrap/38867
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;