Revision 1b2e93c1 target-sparc/op_helper.c
b/target-sparc/op_helper.c | ||
---|---|---|
1111 | 1111 |
printf("Unassigned mem access to " TARGET_FMT_plx " from " TARGET_FMT_lx |
1112 | 1112 |
"\n", addr, env->pc); |
1113 | 1113 |
#endif |
1114 |
raise_exception(TT_DATA_ACCESS); |
|
1114 |
if (is_exec) |
|
1115 |
raise_exception(TT_CODE_ACCESS); |
|
1116 |
else |
|
1117 |
raise_exception(TT_DATA_ACCESS); |
|
1115 | 1118 |
} |
1116 | 1119 |
env = saved_env; |
1117 | 1120 |
} |
... | ... | |
1130 | 1133 |
addr, env->pc); |
1131 | 1134 |
env = saved_env; |
1132 | 1135 |
#endif |
1133 |
raise_exception(TT_DATA_ACCESS); |
|
1136 |
if (is_exec) |
|
1137 |
raise_exception(TT_CODE_ACCESS); |
|
1138 |
else |
|
1139 |
raise_exception(TT_DATA_ACCESS); |
|
1134 | 1140 |
} |
1135 | 1141 |
#endif |
1136 | 1142 |
|
Also available in: Unified diff