Un-break signal frame delivery on ppc64 following recent Memcheck

origin tracking changes.  This is believed to fix #161628.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8011
This commit is contained in:
Julian Seward 2008-05-06 18:14:27 +00:00
parent 111294590f
commit 35695d8b1a

View File

@ -95,8 +95,9 @@
/* Structure containing bits of information that we want to save
on signal delivery. */
struct vg_sig_private {
UInt magicPI;
UInt sigNo_private;
UInt magicPI;
UInt sigNo_private;
ULong _unused; /* makes the struct size be zero % 16 */
VexGuestPPC64State vex_shadow1;
VexGuestPPC64State vex_shadow2;
};
@ -190,6 +191,7 @@ void VG_(sigframe_create)( ThreadId tid,
struct rt_sigframe* frame;
/* Stack must be 16-byte aligned */
vg_assert(VG_IS_16_ALIGNED(sizeof(struct vg_sig_private)));
vg_assert(VG_IS_16_ALIGNED(sizeof(struct rt_sigframe)));
sp_top_of_frame &= ~0xf;