aboutsummaryrefslogtreecommitdiff
path: root/hw/intc
diff options
context:
space:
mode:
authorMilica Lazarevic <milica.lazarevic@syrmia.com>2022-09-12 14:26:32 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2022-10-31 11:32:07 +0100
commit39399c381d3bfc8f651f6d64f9f1f37d9763a8e3 (patch)
treef304025b5eab751cc4817643eefeadfcab3a5bdd /hw/intc
parent3f2aec0778853afe190114bc6f1d18ab0239da09 (diff)
downloadqemu-39399c381d3bfc8f651f6d64f9f1f37d9763a8e3.zip
qemu-39399c381d3bfc8f651f6d64f9f1f37d9763a8e3.tar.gz
qemu-39399c381d3bfc8f651f6d64f9f1f37d9763a8e3.tar.bz2
disas/nanomips: Replace exception handling
Since there's no support for exception handling in C, the try-catch blocks have been deleted, and throw clauses are replaced. When a runtime error happens, we're printing out the error message. Disassembling of the current instruction interrupts. This behavior is achieved by adding sigsetjmp() to discard further disassembling after the error message prints and by adding the siglongjmp() function to imitate throwing an error. The goal was to maintain the same output as it was. Signed-off-by: Milica Lazarevic <milica.lazarevic@syrmia.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220912122635.74032-22-milica.lazarevic@syrmia.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/intc')
0 files changed, 0 insertions, 0 deletions