diff options
author | Roland McGrath <roland@redhat.com> | 2003-01-10 11:14:41 +0000 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2003-01-10 11:14:41 +0000 |
commit | 43b286f8cb8586acef62da1cbfa5e00d0ea4d427 (patch) | |
tree | 72c11f28376de113751f7a91a78d3d425c73d6a5 /process.c | |
parent | dcfcaf71b39282d6bc60b988a30fca5f8e43f70c (diff) | |
download | strace-43b286f8cb8586acef62da1cbfa5e00d0ea4d427.tar.gz |
2003-01-10 Roland McGrath <roland@redhat.com>v4.4.90
* process.c (change_syscall) [POWERPC]: Add missing return.
* util.c [POWERPC] (arg0_offset): Set to 4*PT_R3, not 4*PT_ORIG_R3.
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -609,6 +609,7 @@ int new; #elif defined(POWERPC) if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(4*PT_R0), new) < 0) return -1; + return 0; #elif defined(S390) || defined(S390X) /* s390 linux after 2.4.7 has a hook in entry.S to allow this */ if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)(PT_GPR2), new)<0) |