Revision 72d239ed cpu-exec.c

b/cpu-exec.c
263 263
                    if (ret == EXCP_DEBUG)
264 264
                        cpu_handle_debug_exception(env);
265 265
                    break;
266
                } else if (env->user_mode_only) {
266
                } else {
267
#if defined(CONFIG_USER_ONLY)
267 268
                    /* if user mode only, we simulate a fake exception
268 269
                       which will be handled outside the cpu execution
269 270
                       loop */
......
277 278
#endif
278 279
                    ret = env->exception_index;
279 280
                    break;
280
                } else {
281
#else
281 282
#if defined(TARGET_I386)
282 283
                    /* simulate a real cpu exception. On i386, it can
283 284
                       trigger new exceptions, but we do not handle
......
305 306
#elif defined(TARGET_M68K)
306 307
                    do_interrupt(0);
307 308
#endif
309
#endif
308 310
                }
309 311
                env->exception_index = -1;
310 312
            }

Also available in: Unified diff