commit | d9b6e047f60ce2129eff28ad1c6690949293366b | [log] [tgz] |
---|---|---|
author | John Baldwin <jhb@FreeBSD.org> | Mon May 23 10:59:13 2022 -0700 |
committer | John Baldwin <jhb@FreeBSD.org> | Mon May 23 10:59:13 2022 -0700 |
tree | 9229222f5825b12c511978d404bc754319b5a14b | |
parent | a6b446b22270b52dd4739e9ab094e11b307ff0b5 [diff] |
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.