* 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:
parent
dcbf108f79
commit
1b1818e443
5 changed files with 52 additions and 24 deletions
|
@ -49,9 +49,9 @@
|
|||
/* Supported register note sections. */
|
||||
static struct core_regset_section i386_linux_regset_sections[] =
|
||||
{
|
||||
{ ".reg", 144 },
|
||||
{ ".reg2", 108 },
|
||||
{ ".reg-xfp", 512 },
|
||||
{ ".reg", 144, "general-purpose" },
|
||||
{ ".reg2", 108, "floating-point" },
|
||||
{ ".reg-xfp", 512, "extended floating-point" },
|
||||
{ NULL, 0 }
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue