2004-01-13 Roland McGrath <roland@redhat.com>
* syscall.c (force_result) [LINUX] [S390 || S390X]: Remove bogus upeek call.
This commit is contained in:
parent
5ef24abf00
commit
182aa38bb2
@ -1592,8 +1592,6 @@ force_result(tcp, error, rval)
|
|||||||
#ifdef LINUX
|
#ifdef LINUX
|
||||||
#if defined(S390) || defined(S390X)
|
#if defined(S390) || defined(S390X)
|
||||||
gpr2 = error ? -error : rval;
|
gpr2 = error ? -error : rval;
|
||||||
if (upeek(tcp->pid, PT_GPR2, &gpr2) < 0)
|
|
||||||
return -1;
|
|
||||||
if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)PT_GPR2, gpr2) < 0)
|
if (ptrace(PTRACE_POKEUSER, tcp->pid, (char*)PT_GPR2, gpr2) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
#else /* !S390 && !S390X */
|
#else /* !S390 && !S390X */
|
||||||
|
Loading…
Reference in New Issue
Block a user