OSDN Git Service

2008-06-14 Kai Tietz <kai.tietz@onevision.com>
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 14 Jun 2008 10:58:22 +0000 (10:58 +0000)
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 14 Jun 2008 10:58:22 +0000 (10:58 +0000)
* exception.c (PERSONALITY_FUNCTION): Remove extra decrement
if HAVE_GETIPINFO is not defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136782 138bc75d-0d04-0410-961f-82ee72b054a4

libobjc/ChangeLog
libobjc/exception.c

index b623679..3ae7470 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 1a6b9da..bc59aa7 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;