diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-05-23 10:59:13 -0700 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-05-23 10:59:13 -0700 |
commit | d9b6e047f60ce2129eff28ad1c6690949293366b (patch) | |
tree | 9229222f5825b12c511978d404bc754319b5a14b /binutils/dwarf.c | |
parent | a6b446b22270b52dd4739e9ab094e11b307ff0b5 (diff) | |
download | gdb-d9b6e047f60ce2129eff28ad1c6690949293366b.zip gdb-d9b6e047f60ce2129eff28ad1c6690949293366b.tar.gz gdb-d9b6e047f60ce2129eff28ad1c6690949293366b.tar.bz2 |
Fix loongarch_iterate_over_regset_sections for non-native targets.
Define a constant for the number of registers stored in a register set
and use this with register_size to compute the size of the
general-purpose register set in core dumps.
This also fixes the build on hosts such as FreeBSD that do not define
an elf_gregset_t type.
Diffstat (limited to 'binutils/dwarf.c')
0 files changed, 0 insertions, 0 deletions