diff options
author | Richard Purdie <richard@openedhand.com> | 2006-12-23 00:22:05 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-12-23 00:22:05 +0000 |
commit | 37568a71d07060976b5a3c330ab6f4c2c7e1a87e (patch) | |
tree | 9957336a057303677b2ce61d2a6cd01b55549eda /meta/packages/strace/strace/strace-fix-arm-bad-syscall.patch | |
parent | ae60cc23f955d0f8feb68a46ef301b4f1e682a08 (diff) | |
download | poky-37568a71d07060976b5a3c330ab6f4c2c7e1a87e.tar.gz |
Add strace 4.5.14 (with EABI fixes)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1087 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/strace/strace/strace-fix-arm-bad-syscall.patch')
-rw-r--r-- | meta/packages/strace/strace/strace-fix-arm-bad-syscall.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/packages/strace/strace/strace-fix-arm-bad-syscall.patch b/meta/packages/strace/strace/strace-fix-arm-bad-syscall.patch new file mode 100644 index 0000000000..d7d7426b74 --- /dev/null +++ b/meta/packages/strace/strace/strace-fix-arm-bad-syscall.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | --- strace-4.5.12-orig/syscall.c 2005-06-08 21:45:28.000000000 +0100 | ||
2 | +++ strace-4.5.12/syscall.c 2005-10-25 19:26:39.000000000 +0100 | ||
3 | @@ -1013,6 +1013,15 @@ struct tcb *tcp; | ||
4 | /* | ||
5 | * Note: we only deal with only 32-bit CPUs here. | ||
6 | */ | ||
7 | + | ||
8 | + if (!(tcp->flags & TCB_INSYSCALL) && | ||
9 | + (tcp->flags & TCB_WAITEXECVE)) { | ||
10 | + /* caught a fake syscall from the execve's exit */ | ||
11 | + tcp->flags &= ~TCB_WAITEXECVE; | ||
12 | + return 0; | ||
13 | + } | ||
14 | + | ||
15 | + | ||
16 | if (regs.ARM_cpsr & 0x20) { | ||
17 | /* | ||
18 | * Get the Thumb-mode system call number | ||