aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-param.c
diff options
context:
space:
mode:
authorThiago Jung Bauermann <thiago.bauermann@linaro.org>2024-09-01 14:56:10 -0300
committerThiago Jung Bauermann <thiago.bauermann@linaro.org>2025-01-10 18:52:04 -0300
commit7fcdec025c0510741f3d7efc53e623e03c29e7d3 (patch)
tree4ac3f8fcd9b33b72f4fecd7ac5f3477be0da224d /gdb/python/py-param.c
parent53a34429c96dc752d12dcb8b85165e28f75ce03a (diff)
downloadbinutils-7fcdec025c0510741f3d7efc53e623e03c29e7d3.zip
binutils-7fcdec025c0510741f3d7efc53e623e03c29e7d3.tar.gz
binutils-7fcdec025c0510741f3d7efc53e623e03c29e7d3.tar.bz2
GDB: Use gdb::array_view for buffers used in register reading and unwinding
This allows checking the size of the given buffer. Changes frame_register_unwind (), frame_unwind_register (), get_frame_register () and deprecated_frame_register_read (). As pointed out by Baris, in the case of MIPS target code this is best done by changing a couple of alloca-based buffers in mips_read_fp_register_single and mips_print_fp_register to gdb::byte_vector instances. Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/python/py-param.c')
0 files changed, 0 insertions, 0 deletions