Re: elf32 corefile, which sections ?

oza Pawandeep
2012-06-26T05:34:05Z

Is this the code snippet which would get it done ? function is:
'get_core_registers'

get_core_register_section (regcache,
".reg", 0, "general-purpose", 1);
get_core_register_section (regcache,
".reg2", 2, "floating-point", 0);
get_core_register_section (regcache,
".reg-xfp", 3, "extended floating-point", 0);
get_core_register_section (regcache,
".reg-ppc-vmx", 3, "ppc Altivec", 0);
get_core_register_section (regcache,
".reg-ppc-vsx", 4, "POWER7 VSX", 0);

Regards,
Oza.

On Tue, Jun 26, 2012 at 10:55 AM, oza Pawandeep <oza.pawandeep@gmail.com> wrote:
> Hi,
>
> What all sections, in elf32 corefile, are looked upon by gdb/bfd, to
> get processor's status register and other registers when system
> crashed ?
>
> Regards,
> Oza.