exception.c (PERSONALITY_FUNCTION): Remove extra decrement if HAVE_GETIPINFO is not...
authorKai Tietz <kai.tietz@onevision.com>
Sat, 14 Jun 2008 10:58:22 +0000 (10:58 +0000)
committerKai Tietz <ktietz@gcc.gnu.org>
Sat, 14 Jun 2008 10:58:22 +0000 (12:58 +0200)
2008-06-14  Kai Tietz  <kai.tietz@onevision.com>

* exception.c (PERSONALITY_FUNCTION): Remove extra decrement
if HAVE_GETIPINFO is not defined.

From-SVN: r136782

libobjc/ChangeLog
libobjc/exception.c

index b623679ca613c0476df80563d0167d551bd7c27c..3ae74708729a652eec5cad71d15e16435d26d32c 100644 (file)
@@ -1,3 +1,8 @@
+2008-06-14  Kai Tietz  <kai.tietz@onevision.com>
+
+       * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
+       if HAVE_GETIPINFO is not defined.
+
 2008-06-10  Kai Tietz  <kai.tietz@onevision.com>
 
        * Object.m (compare): Add type id.
index 1a6b9dab4d18c65c8a5bad4c00ef244d8ee738c6..bc59aa743cb9e3f86f8a29531aeeea1fd20062b0 100644 (file)
@@ -295,7 +295,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;