]> git.ipfire.org Git - thirdparty/qemu.git/commit
gdbstub/helpers: Introduce ldtul_$endian_p() helpers
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 4 Oct 2024 09:00:35 +0000 (11:00 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 15 Oct 2024 14:55:09 +0000 (11:55 -0300)
commitf02657980295869498802c870623490e509ca51d
tree7dda9e4201de41d34afefbdc4bcf77c06a7b0f84
parente63b5f64eeb3e1632ceb0df607616c0a3fdf9b63
gdbstub/helpers: Introduce ldtul_$endian_p() helpers

Introduce ldtul_le_p() and ldtul_be_p() to use directly
in place of ldtul_p() when a target endianness is fixed.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241010175246.15779-3-philmd@linaro.org>
include/gdbstub/helpers.h