Thread (18 messages) 18 messages, 7 authors, 2007-09-27

Re: [PATCH] add Altivec/VMX state to coredumps

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2007-09-25 22:20:36

On Tue, 2007-09-25 at 19:00 +0100, Matt Sealey wrote:
Kumar Gala wrote:
quoted
On Sep 24, 2007, at 11:03 PM, Mark Nelson wrote:
quoted
Update dump_task_altivec() (that has so far never been put to use)
so that it dumps the Altivec/VMX registers (VR[0] - VR[31], VSCR
and VRSAVE) in the same format as the ptrace get_vrregs() and add
the appropriate glue typedefs and #defines to
include/asm-powerpc/elf.h for it to work.
Is there some way to tell if the core dump has altivec registers  
state in it?

I'm wondering how we distinguish a core dump w/altivec state vs one  
with SPE state.
Sheer number of registers saved?

Why not put the PVR in core dumps that'd make it all easier..
PVR wouldn't be very useful...  What if you have altivec disabled ? Also
that would mean your gdb has to know about all new processors...

Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help