|
From: <sv...@va...> - 2006-04-14 11:14:10
|
Author: sewardj
Date: 2006-04-14 12:13:59 +0100 (Fri, 14 Apr 2006)
New Revision: 5852
Log:
Un-break core dumping on ppc32-linux.
Modified:
trunk/include/vki-ppc32-linux.h
Modified: trunk/include/vki-ppc32-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-ppc32-linux.h 2006-04-14 02:09:56 UTC (rev 5851)
+++ trunk/include/vki-ppc32-linux.h 2006-04-14 11:13:59 UTC (rev 5852)
@@ -198,6 +198,13 @@
unsigned long dar; /* Fault registers */
unsigned long dsisr; /* on 4xx/Book-E used for ESR */
unsigned long 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. */
+ unsigned long pad[4];
};
=20
#define vki_user_regs_struct vki_pt_regs
|