aboutsummaryrefslogtreecommitdiff
path: root/scripts/qemu-gdb.py
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2024-11-05 10:09:54 +0000
committerPeter Maydell <peter.maydell@linaro.org>2024-11-05 10:09:54 +0000
commitad58ba13d04b85c141bca2d927fb9de6490bf0c1 (patch)
treedebd5eb870be0db23e89402a1bdc462ab5f04c6b /scripts/qemu-gdb.py
parent0527cfd94c1d648870176b5610aaefb4fc1d7eba (diff)
downloadqemu-ad58ba13d04b85c141bca2d927fb9de6490bf0c1.zip
qemu-ad58ba13d04b85c141bca2d927fb9de6490bf0c1.tar.gz
qemu-ad58ba13d04b85c141bca2d927fb9de6490bf0c1.tar.bz2
target/m68k: Initialize float_status fields in gdb set/get functions
In cf_fpu_gdb_get_reg() and cf_fpu_gdb_set_reg() we use a temporary float_status variable to pass to floatx80_to_float64() and float64_to_floatx80(), but we don't initialize it, meaning that those functions could access uninitialized data. Zero-init the structs. (We don't need to set a NaN-propagation rule here because we don't use these with a 2-argument fpu operation.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20241025141254.2141506-11-peter.maydell@linaro.org
Diffstat (limited to 'scripts/qemu-gdb.py')
0 files changed, 0 insertions, 0 deletions