The length used to include the tag, but now it doesn't. This fixes it.
gdb/ChangeLog:
2020-12-30 Luis Machado <luis.machado@arm.com>
* valprint.c (generic_value_print_capability): Don't add 1 to
the capability length.
{
struct type *type = check_typedef (value_type (val));
/* Account for the tag bit in the length. */
- int length = TYPE_LENGTH (type) + 1;
+ int length = TYPE_LENGTH (type);
const gdb_byte *contents = value_contents_for_printing (val).data ();
enum bfd_endian byte_order = type_byte_order (type);
bool tag = false;