|
From: <sv...@va...> - 2006-05-21 00:51:37
|
Author: sewardj Date: 2006-05-21 01:51:28 +0100 (Sun, 21 May 2006) New Revision: 5907 Log: Un-break coredumping on ppc64-linux. Finally fixes #121617. Modified: trunk/include/vki-ppc64-linux.h Modified: trunk/include/vki-ppc64-linux.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/include/vki-ppc64-linux.h 2006-05-20 01:13:38 UTC (rev 5906) +++ trunk/include/vki-ppc64-linux.h 2006-05-21 00:51:28 UTC (rev 5907) @@ -193,6 +193,14 @@ VKI_PPC_REG dar; /* Fault registers */ VKI_PPC_REG dsisr; VKI_PPC_REG result; /* Result of a system call */ + + /* Not in kernel's definition, but apparently needed to stop + assertion at coredump-elf.c:267 firing. These padding words make + the struct have the same size as a 'vki_elf_greg_t'. See message + from Ghassan Hammouri on valgrind-developers on 6 April 06, and + also the analogous kludge for ppc32-linux (svn r5852 and bug + #121617). */ + unsigned long pad[4]; }; =20 /* Kludge? I don't know where this came from or if it is right. */ |