diff options
-rw-r--r-- | cpu-exec.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpu-exec.c b/cpu-exec.c index 3246264fce..a3e6e8e124 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -882,6 +882,8 @@ static inline int handle_cpu_signal(unsigned long pc, unsigned long address, do it (XXX: use sigsetjmp) */ sigprocmask(SIG_SETMASK, old_set, NULL); cpu_loop_exit(); + /* never comes here */ + return 1; } #elif defined(TARGET_SPARC) static inline int handle_cpu_signal(unsigned long pc, unsigned long address, @@ -918,6 +920,8 @@ static inline int handle_cpu_signal(unsigned long pc, unsigned long address, do it (XXX: use sigsetjmp) */ sigprocmask(SIG_SETMASK, old_set, NULL); cpu_loop_exit(); + /* never comes here */ + return 1; } #elif defined (TARGET_PPC) static inline int handle_cpu_signal(unsigned long pc, unsigned long address, |