diff options
author | Peter Maydell | 2016-05-17 16:18:04 +0200 |
---|---|---|
committer | Peter Maydell | 2016-06-09 16:55:02 +0200 |
commit | 6886b98036a8f8f5bce8b10756ce080084cef11b (patch) | |
tree | bc5a3485a81a03200a0f5945445fd6e3b10a9ee4 /target-xtensa/helper.c | |
parent | user-exec: Push resume-from-signal code out to handle_cpu_signal() (diff) | |
download | qemu-6886b98036a8f8f5bce8b10756ce080084cef11b.tar.gz qemu-6886b98036a8f8f5bce8b10756ce080084cef11b.tar.xz qemu-6886b98036a8f8f5bce8b10756ce080084cef11b.zip |
cpu-exec: Rename cpu_resume_from_signal() to cpu_loop_exit_noexc()
The function cpu_resume_from_signal() is now always called with a
NULL puc argument, and is rather misnamed since it is never called
from a signal handler. It is essentially forcing an exit to the
top level cpu loop but without raising any exception, so rename
it to cpu_loop_exit_noexc() and drop the useless unused argument.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Sergey Fedorov <sergey.fedorov@linaro.org>
Acked-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Riku Voipio <riku.voipio@linaro.org>
Message-id: 1463494687-25947-4-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'target-xtensa/helper.c')
-rw-r--r-- | target-xtensa/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-xtensa/helper.c b/target-xtensa/helper.c index 839f4a74a5..768b32c417 100644 --- a/target-xtensa/helper.c +++ b/target-xtensa/helper.c @@ -108,7 +108,7 @@ void xtensa_breakpoint_handler(CPUState *cs) if (cause) { debug_exception_env(env, cause); } - cpu_resume_from_signal(cs, NULL); + cpu_loop_exit_noexc(cs); } } } |