* exception.cc (PERSONALITY_FUNCTION): Fix oversight.

From-SVN: r154159
This commit is contained in:
Eric Botcazou 2009-11-13 18:05:20 +00:00 committed by Eric Botcazou
parent d7f1df66b2
commit 0761b46229
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-11-13 Eric Botcazou <ebotcazou@adacore.com>
* exception.cc (PERSONALITY_FUNCTION): Fix oversight.
2009-11-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
PR bootstrap/38867

View File

@ -328,7 +328,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;