system call is between the blksys_committed and blksys_finished markers
in the system call routine then the post handler for the system call
was failing to run.
This commit fixes that by ensuring that the syscall status is recovered
from the guest state before the post VG_(post_syscall) is called just
as VG_(client_syscall) would normally do when the assembly wrapper
returned. Without that VG_(post_syscall) will not do anything a it
will think the system call is still running.
Fixes #212267.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10921
if (VG_(clo_trace_signals))
VG_(message)( Vg_DebugMsg,
" completed and committed: nothing to do");
+ getSyscallStatusFromGuestState( &sci->status, &th_regs->vex );
+ vg_assert(sci->status.what == SsComplete);
VG_(post_syscall)(tid);
}