]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Avoid bare abort() or assert(0)
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 1 May 2022 05:49:48 +0000 (22:49 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 5 May 2022 08:35:51 +0000 (09:35 +0100)
commitd385a60571487d9409f247d07aac94d1ee40f9fe
treebac12f154f3f1d0a37618264a65e3c81e29927a4
parent87c3f0f2f791094adce2b8643d9103dac1b59702
target/arm: Avoid bare abort() or assert(0)

Standardize on g_assert_not_reached() for "should not happen".
Retain abort() when preceeded by fprintf or error_report.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20220501055028.646596-7-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c
target/arm/hvf/hvf.c
target/arm/kvm-stub.c
target/arm/kvm.c
target/arm/machine.c
target/arm/translate-a64.c
target/arm/translate-neon.c
target/arm/translate.c