mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
* regset.h (struct core_regset_section): Add HUMAN_NAME.
* i386-linux-tdep.c (i386_linux_regset_sections): Fill in HUMAN_NAME. * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections): Likewise. (ppc_linux_vmx_regset_sections): Likewise. (ppc_linux_fp_regset_sections): Likewise. * corelow.c (get_core_register_section): Constify arguments. (get_core_registers): Use gdbarch_core_regset_sections instead of hard-coded platform-specific register section names.
This commit is contained in:
@@ -516,25 +516,25 @@ ppc64_standard_linkage1_target (struct frame_info *frame,
|
||||
|
||||
static struct core_regset_section ppc_linux_vsx_regset_sections[] =
|
||||
{
|
||||
{ ".reg", 268 },
|
||||
{ ".reg2", 264 },
|
||||
{ ".reg-ppc-vmx", 544 },
|
||||
{ ".reg-ppc-vsx", 256 },
|
||||
{ ".reg", 268, "general-purpose" },
|
||||
{ ".reg2", 264, "floating-point" },
|
||||
{ ".reg-ppc-vmx", 544, "ppc Altivec" },
|
||||
{ ".reg-ppc-vsx", 256, "POWER7 VSX" },
|
||||
{ NULL, 0}
|
||||
};
|
||||
|
||||
static struct core_regset_section ppc_linux_vmx_regset_sections[] =
|
||||
{
|
||||
{ ".reg", 268 },
|
||||
{ ".reg2", 264 },
|
||||
{ ".reg-ppc-vmx", 544 },
|
||||
{ ".reg", 268, "general-purpose" },
|
||||
{ ".reg2", 264, "floating-point" },
|
||||
{ ".reg-ppc-vmx", 544, "ppc Altivec" },
|
||||
{ NULL, 0}
|
||||
};
|
||||
|
||||
static struct core_regset_section ppc_linux_fp_regset_sections[] =
|
||||
{
|
||||
{ ".reg", 268 },
|
||||
{ ".reg2", 264 },
|
||||
{ ".reg", 268, "general-purpose" },
|
||||
{ ".reg2", 264, "floating-point" },
|
||||
{ NULL, 0}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user