* elf32 corefile, which sections ? @ 2012-06-26 5:26 oza Pawandeep 2012-06-26 5:34 ` oza Pawandeep 2012-06-26 10:04 ` Mark Kettenis 0 siblings, 2 replies; 4+ messages in thread From: oza Pawandeep @ 2012-06-26 5:26 UTC (permalink / raw) To: gdb 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: elf32 corefile, which sections ? 2012-06-26 5:26 elf32 corefile, which sections ? oza Pawandeep @ 2012-06-26 5:34 ` oza Pawandeep 2012-06-26 10:04 ` Mark Kettenis 1 sibling, 0 replies; 4+ messages in thread From: oza Pawandeep @ 2012-06-26 5:34 UTC (permalink / raw) To: gdb 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. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: elf32 corefile, which sections ? 2012-06-26 5:26 elf32 corefile, which sections ? oza Pawandeep 2012-06-26 5:34 ` oza Pawandeep @ 2012-06-26 10:04 ` Mark Kettenis 2012-06-26 11:09 ` oza Pawandeep 1 sibling, 1 reply; 4+ messages in thread From: Mark Kettenis @ 2012-06-26 10:04 UTC (permalink / raw) To: oza Pawandeep; +Cc: gdb > 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 ? Depends on your OS. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: elf32 corefile, which sections ? 2012-06-26 10:04 ` Mark Kettenis @ 2012-06-26 11:09 ` oza Pawandeep 0 siblings, 0 replies; 4+ messages in thread From: oza Pawandeep @ 2012-06-26 11:09 UTC (permalink / raw) To: Mark Kettenis; +Cc: gdb Linux ? On Tue, Jun 26, 2012 at 3:33 PM, Mark Kettenis <mark.kettenis@xs4all.nl> 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 ? > > Depends on your OS. > > ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-06-26 11:09 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-06-26 5:26 elf32 corefile, which sections ? oza Pawandeep 2012-06-26 5:34 ` oza Pawandeep 2012-06-26 10:04 ` Mark Kettenis 2012-06-26 11:09 ` oza Pawandeep
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).