target/arm: Display helpful message when hflags mismatch
commit0ee8b24a69e410ce5abdc30b7050dc9e26a647ca
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 20 Dec 2019 14:03:00 +0000 (20 14:03 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 20 Dec 2019 14:03:00 +0000 (20 14:03 +0000)
tree2eb478ac16bb9176589238ec81b25a9cc0045ec3
parentb255cafb59578d16716186ed955717bc8f87bdb7
target/arm: Display helpful message when hflags mismatch

Instead of crashing in a confuse way, give some hint to the user
about why we aborted. He might report the issue without having
to use a debugger.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20191209134552.27733-1-philmd@redhat.com
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Niek Linnenbank <nieklinnenbank@gmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c