This is the mail archive of the
frysk@sources.redhat.com
mailing list for the frysk project.
Re: PPC64 core-file GP register formats/order
- From: Roland McGrath <roland at redhat dot com>
- To: Wu Zhou <woodzltc at cn dot ibm dot com>
- Cc: Phil Muldoon <pmuldoon at redhat dot com>, Frysk Hackers <frysk at sourceware dot org>
- Date: Mon, 23 Oct 2006 02:42:39 -0700 (PDT)
- Subject: Re: PPC64 core-file GP register formats/order
> I guess gregset_t, which is defined in /usr/include/sys/ucontext.h as below, is the general answer.
No, do not assume that is the same as elf_gregset_t on all platforms.
> Though, there is one problem confusing me all the time: why asm-powerpc
> replace asm-ppc64 in the kernel?
Newer kernels unify the former asm-ppc32 and asm-ppc64 into asm-powerpc.