Fix incorrect exception_index use
authorBlue Swirl <blauwirbel@gmail.com>
Sun, 14 Feb 2010 07:23:50 +0000 (07:23 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 14 Feb 2010 07:23:50 +0000 (07:23 +0000)
commitad998303657a38c2da24ed057a20696eb8ee6779
tree73fd9386dbbb86683400171711aa1ce43b5a8457
parent34f2f0e4cb451a48839bfe5bd82c09c6a1a99483
Fix incorrect exception_index use

env->exception_index should be cleared with -1, not 0.

See also 821b19fe923ac49a24cdb4af902584fdd019cee6.

Spotted by Igor Kovalenko.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-alpha/helper.c
target-s390x/kvm.c
target-sh4/helper.c