arm-linux: make restarting interrupted syscalls work in Thumb mode.
This isn't exactly right, in the sense that the if the SVC instruction
was conditional, then it will be restarted with the condition for the
following instruction.  IOW we should back up ITSTATE too, but don't.
This doesn't happen in glibc, though, afaics.

Also tighten up the checks for restarting in ARM mode.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11287 a5019735-40e9-0310-863c-91ae7b9d1cf9
1 file changed