diff options
Diffstat (limited to 'libobjc')
-rw-r--r-- | libobjc/ChangeLog | 5 | ||||
-rw-r--r-- | libobjc/exception.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index b623679..3ae7470 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -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. diff --git a/libobjc/exception.c b/libobjc/exception.c index 1a6b9da..bc59aa7 100644 --- a/libobjc/exception.c +++ b/libobjc/exception.c @@ -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; |