Skip to content
Snippets Groups Projects
Commit d24b98e3 authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

s390/syscall: fix single stepped system calls


Fix PER tracing of system calls after git commit 34525e1f
"s390: store breaking event address only for program checks"
broke it.

Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 50a0d46c
No related branches found
No related tags found
No related merge requests found
...@@ -545,6 +545,7 @@ ENTRY(pgm_check_handler) ...@@ -545,6 +545,7 @@ ENTRY(pgm_check_handler)
# #
.Lpgm_svcper: .Lpgm_svcper:
mvc __LC_RETURN_PSW(8),__LC_SVC_NEW_PSW mvc __LC_RETURN_PSW(8),__LC_SVC_NEW_PSW
lghi %r13,__TASK_thread
larl %r14,.Lsysc_per larl %r14,.Lsysc_per
stg %r14,__LC_RETURN_PSW+8 stg %r14,__LC_RETURN_PSW+8
lghi %r14,_PIF_SYSCALL | _PIF_PER_TRAP lghi %r14,_PIF_SYSCALL | _PIF_PER_TRAP
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment