diff options
author | Tom de Vries <tdevries@suse.de> | 2024-11-12 11:37:50 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2024-11-12 11:37:50 +0100 |
commit | a4a5f05266b69ebe8172433217d47cc7a737e51d (patch) | |
tree | 6d9411eb6ea8c52aa4c2f67bb6bc5033693a6c7c /gdb/i386-linux-nat.c | |
parent | 510fa4aadb1c6509ebbbe55b901231c45039efd8 (diff) | |
download | binutils-a4a5f05266b69ebe8172433217d47cc7a737e51d.zip binutils-a4a5f05266b69ebe8172433217d47cc7a737e51d.tar.gz binutils-a4a5f05266b69ebe8172433217d47cc7a737e51d.tar.bz2 |
[gdb/tdep] Use raw_supply_part_zeroed for AArch64
In gdb/aarch64-linux-tdep.c we find:
...
gdb::byte_vector za_zeroed (za_bytes, 0);
regcache->raw_supply (tdep->sme_za_regnum, za_zeroed);
...
We can't use reg_buffer::raw_supply_zeroed here because only part of the
register is written.
Add raw_supply_part_zeroed, and use it instead.
Likewise elsewhere in AArch64 tdep code.
Tested on aarch64-linux.
Approved-By: Luis Machado <luis.machado@arm.com>
Diffstat (limited to 'gdb/i386-linux-nat.c')
0 files changed, 0 insertions, 0 deletions