mirror of git://gcc.gnu.org/git/gcc.git
exception.c (PERSONALITY_FUNCTION): Remove extra decrement if HAVE_GETIPINFO is not defined.
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
This commit is contained in:
parent
b15a9f6300
commit
b01bd5fe12
|
|
@ -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>
|
2008-06-10 Kai Tietz <kai.tietz@onevision.com>
|
||||||
|
|
||||||
* Object.m (compare): Add type id.
|
* Object.m (compare): Add type id.
|
||||||
|
|
|
||||||
|
|
@ -295,7 +295,7 @@ PERSONALITY_FUNCTION (int version,
|
||||||
#ifdef HAVE_GETIPINFO
|
#ifdef HAVE_GETIPINFO
|
||||||
ip = _Unwind_GetIPInfo (context, &ip_before_insn);
|
ip = _Unwind_GetIPInfo (context, &ip_before_insn);
|
||||||
#else
|
#else
|
||||||
ip = _Unwind_GetIP (context) - 1;
|
ip = _Unwind_GetIP (context);
|
||||||
#endif
|
#endif
|
||||||
if (!ip_before_insn)
|
if (!ip_before_insn)
|
||||||
--ip;
|
--ip;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue