2005-02-01 Roland McGrath <roland@redhat.com>
* util.c (getpc) [S390 || S390X]: Implement it. Patch by David Wilder <wilder@us.ibm.com>.
This commit is contained in:
parent
be4eeb95f5
commit
eac26fc53e
13
util.c
13
util.c
@ -1050,6 +1050,19 @@ struct tcb *tcp;
|
||||
return;
|
||||
}
|
||||
tprintf("[%08lx] ", eip);
|
||||
|
||||
#elif defined(S390) || defined(S390X)
|
||||
long psw;
|
||||
if(upeek(tcp->pid,PT_PSWADDR,&psw) < 0) {
|
||||
tprintf("[????????] ");
|
||||
return;
|
||||
}
|
||||
#ifdef S390
|
||||
tprintf("[%08lx] ", psw);
|
||||
#elif S390X
|
||||
tprintf("[%16lx] ", psw);
|
||||
#endif
|
||||
|
||||
#elif defined(X86_64)
|
||||
long rip;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user