Project

General

Profile

Actions

Bug #7690

closed

Exception handler is not handled if it is not the first element in the list of exception describe in test templates

Added by Andrei Tatarnikov about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Andrei Tatarnikov
Category:
ISA Simulator
Target version:
Start date:
11/08/2016
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:
2.4.2

Description

Subject. Investigation is required. See the code below. It is claimed that only IntegerOverflow is handled while others are not found.

exception_handler {
  section(:org => 0x380, :exception => ['IntegerOverflow', 'SystemCall', 'Breakpoint']) {
    trace 'Exception handler (EPC = 0x%x)', location('COP0_R', 14)
    mfc0 ra, rcop0(14)
    addi ra, ra, 4
    jr ra 
    nop
  }
}
Actions

Also available in: Atom PDF