* linux-nat.c (linux_nat_do_thread_registers): Use section size
from gdbarch_core_regset_sections also for .reg if present. * amd64-linux-tdep.c (amd64_linux_regset_sections): Fix incorrect section size for .reg. * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections): Likewise. (ppc_linux_vmx_regset_sections): Likewise. (ppc_linux_fp_regset_sections): Likewise. (ppc64_linux_vsx_regset_sections): New variable. (ppc64_linux_vmx_regset_sections): Likewise. (ppc64_linux_fp_regset_sections): Likewise. (ppc_linux_init_abi): Install core_regset_section lists appropriate for current word size.
This commit is contained in:
parent
9176f4dfdc
commit
2f2241f146
4 changed files with 98 additions and 43 deletions
|
@ -52,7 +52,7 @@
|
|||
/* Supported register note sections. */
|
||||
static struct core_regset_section amd64_linux_regset_sections[] =
|
||||
{
|
||||
{ ".reg", 144, "general-purpose" },
|
||||
{ ".reg", 27 * 8, "general-purpose" },
|
||||
{ ".reg2", 512, "floating-point" },
|
||||
{ ".reg-xstate", I386_XSTATE_MAX_SIZE, "XSAVE extended state" },
|
||||
{ NULL, 0 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue