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:
Kai Tietz 2008-06-14 10:58:22 +00:00 committed by Kai Tietz
parent b15a9f6300
commit b01bd5fe12
2 changed files with 6 additions and 1 deletions

View 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.

View 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;