Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: oza Pawandeep <oza.pawandeep@gmail.com>
To: gdb@sourceware.org
Subject: Re: elf32 corefile, which sections ?
Date: Tue, 26 Jun 2012 05:34:00 -0000	[thread overview]
Message-ID: <CAK1A=4w4U4RgXPtM5no+u-X9-OT+TqbQjsFm1g3-zd0Pv_3vkw@mail.gmail.com> (raw)
In-Reply-To: <CAK1A=4xcnEkB5spGLkOFx_tLSLVSVoXNMkPdWOwPqt+KFvNtiA@mail.gmail.com>

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.


  reply	other threads:[~2012-06-26  5:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-26  5:26 oza Pawandeep
2012-06-26  5:34 ` oza Pawandeep [this message]
2012-06-26 10:04 ` Mark Kettenis
2012-06-26 11:09   ` oza Pawandeep

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAK1A=4w4U4RgXPtM5no+u-X9-OT+TqbQjsFm1g3-zd0Pv_3vkw@mail.gmail.com' \
    --to=oza.pawandeep@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox