]> git.ipfire.org Git - thirdparty/valgrind.git/commit
arm-linux: make restarting interrupted syscalls work in Thumb mode.
authorJulian Seward <jseward@acm.org>
Sun, 22 Aug 2010 22:18:31 +0000 (22:18 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 22 Aug 2010 22:18:31 +0000 (22:18 +0000)
commitf3a7b3a8b9ddab5eec3e802a90ae9184781cc4cd
tree660fdeac71010a725a43c5b9428a538af21f7987
parent9b9a112a9956929086a9b4a89fdcb35fb8c8218e
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
coregrind/m_syswrap/syswrap-main.c