diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-01-26 14:34:19 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-06 15:46:18 +0100 |
commit | ae24e13a9f46128fb815957dc234020351797c0e (patch) | |
tree | f98c42c93c34e3f334ff764e07e084f6f298c27a /tests/functional/qemu_test | |
parent | 059eb605fd67f15c0ca7f07c7a02c319035b095b (diff) | |
download | qemu-ae24e13a9f46128fb815957dc234020351797c0e.zip qemu-ae24e13a9f46128fb815957dc234020351797c0e.tar.gz qemu-ae24e13a9f46128fb815957dc234020351797c0e.tar.bz2 |
disas: Remove target_words_bigendian() call in initialize_debug_target()
All CPUClass implementating disas_set_info() must set the
disassemble_info::endian value.
Ensure that by setting %endian to BFD_ENDIAN_UNKNOWN before
calling the CPUClass::disas_set_info() handler, then asserting
%endian is not BFD_ENDIAN_UNKNOWN after the call.
This allows removing the target_words_bigendian() call in disas/.
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20250210212931.62401-11-philmd@linaro.org>
Diffstat (limited to 'tests/functional/qemu_test')
0 files changed, 0 insertions, 0 deletions