summaryrefslogtreecommitdiff
path: root/libjava/exception.cc
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-13 18:05:20 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-13 18:05:20 +0000
commit43f3e46209d8c68728c8d33a063c70e8e2016fa5 (patch)
tree2a0d4c013f2b56246d992f5cfa2fa093ecffca29 /libjava/exception.cc
parent9a919b4e2e612592bf32432d317fd2abc55a18ce (diff)
downloadgcc-43f3e46209d8c68728c8d33a063c70e8e2016fa5.tar.gz
* exception.cc (PERSONALITY_FUNCTION): Fix oversight.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154159 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/exception.cc')
-rw-r--r--libjava/exception.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/exception.cc b/libjava/exception.cc
index 3a8fe46d57d..8affbbe9fdf 100644
--- a/libjava/exception.cc
+++ b/libjava/exception.cc
@@ -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;