Tom de Vries a4a5f05266 [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>
2024-11-12 11:37:50 +01:00
..
2023-11-15 12:53:04 +00:00
2024-02-27 10:30:29 -07:00
2024-06-07 23:09:03 -04:00
2024-04-21 19:54:27 -06:00
2024-02-27 09:46:31 -07:00
2024-10-06 07:59:48 +02:00
2024-06-24 09:11:30 -06:00
2024-10-06 07:59:48 +02:00

This is a helper library that is used by gdb and gdbserver.

To send patches, follow the gdb patch submission instructions in
../gdb/CONTRIBUTE.  For maintainers, see ../gdb/MAINTAINERS.