aboutsummaryrefslogtreecommitdiff
path: root/target/arm/hyp_gdbstub.c
diff options
context:
space:
mode:
authorPierrick Bouvier <pierrick.bouvier@linaro.org>2024-09-18 21:46:28 -0700
committerThomas Huth <thuth@redhat.com>2024-09-24 13:53:35 +0200
commit200e25b140032bd09ee3d3f18b24f2974d3b702d (patch)
treebbcbb02a22a78b9a2edb87eb0fc70e6f29013c03 /target/arm/hyp_gdbstub.c
parentbfce9288177b29ecd29e9a81aa21d7016d4558c0 (diff)
downloadqemu-200e25b140032bd09ee3d3f18b24f2974d3b702d.zip
qemu-200e25b140032bd09ee3d3f18b24f2974d3b702d.tar.gz
qemu-200e25b140032bd09ee3d3f18b24f2974d3b702d.tar.bz2
target/arm: remove break after g_assert_not_reached()
This patch is part of a series that moves towards a consistent use of g_assert_not_reached() rather than an ad hoc mix of different assertion mechanisms. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-ID: <20240919044641.386068-22-pierrick.bouvier@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'target/arm/hyp_gdbstub.c')
-rw-r--r--target/arm/hyp_gdbstub.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/target/arm/hyp_gdbstub.c b/target/arm/hyp_gdbstub.c
index f120d55..1e86126 100644
--- a/target/arm/hyp_gdbstub.c
+++ b/target/arm/hyp_gdbstub.c
@@ -158,7 +158,6 @@ int insert_hw_watchpoint(target_ulong addr, target_ulong len, int type)
break;
default:
g_assert_not_reached();
- break;
}
if (len <= 8) {
/* we align the address and set the bits in BAS */