summaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-14 10:58:22 +0000
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-14 10:58:22 +0000
commit108cde7908000b3e509bc89fe1be9975f37e84fd (patch)
tree0cb00681f82f48b8195bd7de00a7c2f203882e44 /libobjc
parent71a715322e4678f9fda6add946cea3b72311eff0 (diff)
downloadgcc-108cde7908000b3e509bc89fe1be9975f37e84fd.tar.gz
2008-06-14 Kai Tietz <kai.tietz@onevision.com>
* 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
Diffstat (limited to 'libobjc')
-rw-r--r--libobjc/ChangeLog5
-rw-r--r--libobjc/exception.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index b623679ca61..3ae74708729 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 1a6b9dab4d1..bc59aa743cb 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;