From: Kai Tietz Date: Sat, 14 Jun 2008 10:58:22 +0000 (+0000) Subject: exception.c (PERSONALITY_FUNCTION): Remove extra decrement if HAVE_GETIPINFO is not... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b01bd5fe122d7883222275d5b7d87649640036e6;p=gcc.git exception.c (PERSONALITY_FUNCTION): Remove extra decrement if HAVE_GETIPINFO is not defined. 2008-06-14 Kai Tietz * exception.c (PERSONALITY_FUNCTION): Remove extra decrement if HAVE_GETIPINFO is not defined. From-SVN: r136782 --- 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 + + * exception.c (PERSONALITY_FUNCTION): Remove extra decrement + if HAVE_GETIPINFO is not defined. + 2008-06-10 Kai Tietz * 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;