summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 d7c6d36a09d..37153dabfc4 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 3a8fe46d57d..8affbbe9fdf 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;